protected Definition loadDefinition() throws IOException, WSDLException {
if (wsdlResource != null) {
URL resource = wsdlResource.getURL();
WSDLReader reader = WSDLFactory.newInstance().newWSDLReader();
reader.setFeature(Constants.FEATURE_VERBOSE, false);
return reader.readWSDL(null, resource.toString());
}
return null;
}
protected Document generateWsdl() throws SAXException, IOException, ParserConfigurationException {