What seems to be missing from this WSDL file you sent is any definitions of
the types such as in and out.  Usually, there will either be an explicit
definition of these types in a schema block or they will be imported.  I
suspect you may be importing a schema defined by the SAP Business connector.

Mark

-----Original Message-----
From: Reto Badertscher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 8:22 AM
To: [EMAIL PROTECTED]
Subject: WSDL2Java


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.j
ava: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

Reply via email to