axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17024] New: - WSDL2Java throws NPE when digesting multipart wsdl
Date Wed, 12 Feb 2003 21:08:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17024>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17024

WSDL2Java throws NPE when digesting multipart wsdl

           Summary: WSDL2Java throws NPE when digesting multipart wsdl
           Product: Axis
           Version: 1.1RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: Mark.Richards@fmr.com


If a generate a simple web service in WSAD I get get multipart wsdl. In teh 
simple case I just get two files. The service import the binding.
For any WSAD generated WSDL axis WSDL2Java gives the follwing Null pointer 
exception
>java org.apache.axis.wsdl.WSDL2Java smallTest-service.wsdl
java.lang.NullPointerException
        at org.apache.crimson.tree.ElementNode.getAttributeNodeNS
(ElementNode.java:415)
        at com.ibm.wsdl.util.xml.DOMUtils.getAttributeNS(Unknown Source)
        at com.ibm.wsdl.util.xml.DOMUtils.getNamespaceURIFromPrefix(Unknown 
Source)
        at com.ibm.wsdl.util.xml.DOMUtils.getQName(Unknown Source)
        at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(Unknown 
Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePort(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseService(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:406)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate
(SymbolTable.java:393)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245)
        at java.lang.Thread.run(Thread.java:484)

I'll try to attach sample spearately

Mime
View raw message