You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by John Hawkins <HA...@uk.ibm.com> on 2005/12/22 10:49:56 UTC

Re: WSDL2Ws gives an exception in code generation for SimpleArray.wsdl

I think Adrian made some changes to fix choice and this might be a 
side-effect. He's not here until january now.





"Dushshantha Chandradasa" <dc...@virtusa.com> 
22/12/2005 08:02
Please respond to
"Apache AXIS C Developers List"


To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc

Subject
WSDL2Ws gives an exception in code generation for SimpleArray.wsdl






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
dchadradasa@virtusa.com