Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4743442

wscompile throwing an incorrect exception for an invalid WSDL

XMLWordPrintable

    • 1.2.0
    • 1.2.2
    • sparc
    • solaris_8

      Attached is the faulty WSDL (line 14) and wscompile is not throwing a parsing error. Instead it's throwing the following exception which does not hint anything about the WSDL being incorrect.

      [java] modeler error: model error: invalid entity name: "ArrayOfInt" (in namespace: "http://soapinterop.org/types")
           [java] at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:137)
           [java] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:85)
           [java] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:61)
           [java] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:368)
           [java] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:41)

            gsharmasunw Gopal Sharma (Inactive)
            arungup Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: