Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1723

WSDL To Java - Anonymous Types Referenced As Bound Headers Not Handled Correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-2.0.1
    • jbossws-2.0.0
    • tools-jaxrpc
    • None

      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)

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: