URL wsdlURL = getClass().getClassLoader().getResource("testcase/documentation/extension/resources/nonamespace.wsdl");
assertNotNull("Failed to find nonamespace.wsdl on the classpath",wsdlURL);
WSDLFactory factory = WSDLFactory.newInstance();
WSDLReader reader = factory.newWSDLReader();
ErrorHandler handler = new TestErrorHandler();
reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
reader.getErrorReporter().setErrorHandler(handler);
Description descComp = reader.readWSDL(wsdlURL.toString());
assertNotNull("The reader did not return a WSDL description.", descComp);
DescriptionElement desc = descComp.toElement();