Hi All,

 

WSDL2Ws gives the following exception when I try to generate codes for the wsdl attached here.

 

generateServerStubs:

     [echo] C:\axiscpp\ws-axis\c/../../../obj/test/generated/server/cpp/SimpleAr

ray

     [java] java.io.IOException: Type {http://soapinterop.org/xsd}intItem is ref

erenced but not defined.

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefine

d(SymbolTable.java:665)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.

java:545)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolT

able.java:518)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolT

able.java:495)

     [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:

361)

     [java]     at java.lang.Thread.run(Thread.java:595)

     [java] org.apache.axis.wsdl.wsdl2ws.WrapperFault: java.io.IOException: Type

 {http://soapinterop.org/xsd}intItem is referenced but not defined.

     [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(Unknown Source)

     [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

     [java] Caused by: java.io.IOException: Type {http://soapinterop.org/xsd}int

Item is referenced but not defined.

 

     [java] Code generation failed. Please see errors above.

 

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefine

d(SymbolTable.java:665)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.

java:545)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolT

able.java:518)

     [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolT

able.java:495)

     [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:

361)

     [java]     at java.lang.Thread.run(Thread.java:595)

 

Regards,

 

Marcus Dushshantha Chandradasa

Team Virtusa

[EMAIL PROTECTED]

 

Attachment: SimpleArray.wsdl
Description: SimpleArray.wsdl

Reply via email to