axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Badertscher <rbadertsc...@swissonline.ch>
Subject WSDL2Java
Date Wed, 28 May 2003 14:22:02 GMT
Hello,
when trying to generate Java classes from a SAP Business Connector I got 
errors (undefined namespace) after editing the file i finally got a a 
NullPointer Exception (see error message and WSDL file below).
Options used : java org.apache.axis.wsdl.WSDL2Java -v -a -D -W -p
Version: axis-1_1RC2

- Does anybody know about issues when processing WSDL files from SAP Business 
Connectors (I can generate classes for BC services with no parameters)?
- Whats wrong with the supplied WSDL file ?
- How can i solve the problems?

Thanks for any help in advance

Reto


Error Message:
java.lang.NullPointerException at 
org.apache.axis.wsdl.symbolTable.Utils.getNodeNameQName(Utils.java:257) at 
org.apache.axis.wsdl.symbolTable.SchemaUtils.getElementAnonQName(SchemaUtils.java:379)
at org.apache.axis.wsdl.symbolTable.Utils.getTypeQNameFromAttr(Utils.java:399)
at org.apache.axis.wsdl.symbolTable.Utils.getTypeQName(Utils.java:314)
at 
org.apache.axis.wsdl.symbolTable.SymbolTable.createTypeFromRef(SymbolTable.java:962) 
at 
org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.java:734) 
at 
org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.java:825)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.java:825)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.addTypes(SymbolTable.java:825)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populateTypes(SymbolTable.java:688)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:548)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421)
        at 
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408)
        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:536)

This is the WSDL file

Mime
View raw message