XMLReader xmlReader = XMLReaderFactory.createXMLReader();
xmlReader.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
return new ResourceSource(xmlReader, wsdlResource);
}
catch (SAXException ex) {
throw new WsdlDefinitionException("Could not create XMLReader", ex);
}
catch (IOException ex) {
throw new WsdlDefinitionException("Could not create source from " + this.wsdlResource, ex);
}
}