Dave Siracusa [
http://community.jboss.org/people/davesiracusa] created the discussion
"WSDL11Reader.java has problems w/ included WSDL"
To view the discussion, visit:
http://community.jboss.org/message/548301#548301
--------------------------------------------------------------
I'm running into an issue w/ an external web service exposed via ESB/SOAPProxy. The
returned root WSDL, includes a child WSDL (using wsdl:include) that defines the
type/schema as well as other required elements.
The WSDL validates just fine in eclipse, soapui.
WSDL11Reader.java is failing while processing because it expects some those elements in
the root WSDL file.
It ends up with a null pointer exception.
public WSDLDefinitions processDefinition(Definition srcWsdl, URL wsdlLoc) throws
IOException, WSDLException
{
log.trace("processDefinition: " + wsdlLoc);
destWsdl = new WSDLDefinitions();
destWsdl.setWsdlTypes(new XSModelTypes());
destWsdl.setWsdlOneOneDefinition(srcWsdl);
destWsdl.setWsdlNamespace(Constants.NS_WSDL11);
processNamespaces(srcWsdl);
processTopLevelElements(srcWsdl);
processTypes(srcWsdl, wsdlLoc);
processUnknownExtensibilityElements(srcWsdl, destWsdl);
processServices(srcWsdl);
if (getAllDefinedBindings(srcWsdl).size() != destWsdl.getBindings().length)
processUnreachableBindings(srcWsdl);
cleanupTemporaryFiles();
return destWsdl;
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/548301#548301]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]