[jboss-dev-forums] [JBoss ESB Development] - WSDL11Reader.java has problems w/ included WSDL

Dave Siracusa do-not-reply at jboss.com
Wed Jun 16 11:29:59 EDT 2010


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&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100616/d62d4794/attachment.html 


More information about the jboss-dev-forums mailing list