public void testWSDL() throws Exception { WebConversation conversation = new WebConversation(); String destination = testProps.getProperty("destination"); if (destination != null && destination.length() > 0) { WebRequest request = new GetMethodWebRequest(destination + "?WSDL"); WebResponse response = conversation.getResponse(request); int i = response.getContentLength(); InputSource is = new InputSource(response.getInputStream()); Document doc = builder.parse(is); doc.getDocumentElement(); System.out.println("My test"); } }