WSDL To Java - Anonymous Types Referenced As Bound Headers Not Handled Correctly
--------------------------------------------------------------------------------
Key: JBWS-1723
URL:
http://jira.jboss.com/jira/browse/JBWS-1723
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: tools-jaxrpc
Affects Versions: jbossws-2.0.0
Reporter: Darran Lofthouse
Assigned To: Darran Lofthouse
Fix For: jbossws-2.0.1
WSDL To Java - Anonymous Types Referenced As Bound Headers Not Handled Correctly
Anonymous types cause the following error and generation stops: -
Exception in thread "main" java.lang.IllegalArgumentException: local part
cannot
be "null" when creating a QName
at javax.xml.namespace.QName.<init>(Unknown Source)
at javax.xml.namespace.QName.<init>(Unknown Source)
at org.jboss.ws.tools.WSDLToJava.appendHeaderParameter(WSDLToJava.java:4
42)
at org.jboss.ws.tools.WSDLToJava.appendHeaderParameters(WSDLToJava.java:
421)
at org.jboss.ws.tools.WSDLToJava.appendDocParameters(WSDLToJava.java:406
)
at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:290)
at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:650)
at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:682)
at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:185)
at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too
lsHelper.java:303)
at org.jboss.ws.tools.WSTools.process(WSTools.java:137)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:119)
at org.jboss.ws.tools.WSTools.main(WSTools.java:58)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira