I think I can find out what he changed later today.




"Dushshantha Chandradasa" <[EMAIL PROTECTED]>

22/12/2005 10:03

Please respond to
"Apache AXIS C Developers List"

To
"Apache AXIS C Developers List" <axis-c-dev@ws.apache.org>
cc
Subject
RE: WSDL2Ws gives an exception in code generation for SimpleArray.wsdl





Oopse, then we have to find the place to fix L
 
My understanding is that the tool doesn’t understand the definition of “intItem”  in the following part of the wsdl.
 
<types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
                      <import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/>
                 
                  <element name="intItem" type="int" />
                  <complexType name="intArrayType">
                  <sequence>
                  <element ref="s:intItem" minOccurs="0" maxOccurs="unbounded" />
                  </sequence>
                  </complexType>
 
 
            </schema>
      </types>
 
 
Dushshantha



From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent:
Thursday, December 22, 2005 3:50 PM
To:
Apache AXIS C Developers List
Subject:
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" <[EMAIL PROTECTED]>

22/12/2005 08:02


Please respond to
"Apache AXIS C Developers List"


To
"Apache AXIS C Developers List" <axis-c-dev@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

[EMAIL PROTECTED]
 

Reply via email to