}
try {
URL artifactURL = wsdlDef.getLocation().toURL();
// Read a WSDL document
InputStream is = artifactURL.openStream();
WSDLReader reader = wsdl4jFactory.newWSDLReader();
reader.setFeature("javax.wsdl.verbose", false);
reader.setFeature("javax.wsdl.importDocuments", true);
// FIXME: We need to decide if we should disable the import processing by WSDL4J
// reader.setFeature("javax.wsdl.importDocuments", false);
reader.setExtensionRegistry(wsdlExtensionRegistry);
WSDLLocatorImpl locator = new WSDLLocatorImpl(artifactURL, is);
Definition definition = reader.readWSDL(locator);
wsdlDef.setDefinition(definition);
//Read inline schemas
readInlineSchemas(wsdlDef, definition);
} catch (WSDLException e) {