Axis:  Axis-1_3 or Axis-1_4
Java:  JDK 1.6 or JDK 1.4
Ant:   Apache Ant 1.6.5

When running the WSDL2Java ant task on the WSDL of the WSRP (Web
Services for Remote Protlets) retrieved from OASIS along with all the
files imported by this WSDL file, I get the following error:

[axis-wsdl2java] java.lang.ClassCastException: java.util.ArrayList
[axis-wsdl2java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:724)
[axis-wsdl2java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)
[axis-wsdl2java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
[axis-wsdl2java]     at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
[axis-wsdl2java]     at
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
[axis-wsdl2java]     at java.lang.Thread.run(Thread.java:595)

My build.xml file contains the following call to the WSDL2Java ant task:

<target name="WSDL2JAVA">
  <axis-wsdl2java output="${local.src.dir}"
                            verbose="true"
                            url="${wsdl.url}"
                            debug="true"
                            wrapArrays="true">
  </axis-wsdl2java>
</target>

I have searched around the Internet and the mailing lists in order to
find out what may be wrong with no success. Can anyone help me on that ?

Thanks,
Nicolas

-- 
VAHLAS Nicolas 
Technical Architect

Quality & Reliability
Address: Konitsis 11B,
         151 25 Marousi
Tel.:    (+ 30) 210 80 29 409 (270)
Mobile:  (+ 30) 694 58 76 506
Mail:    [EMAIL PROTECTED]

begin:vcard
fn:Nicolas Vahlas
n:Vahlas;Nicolas
org:Quality & Reliability;Instore
adr;quoted-printable;quoted-printable:;;=CE=9A=CE=BF=CE=BD=CE=AF=CF=84=CF=83=CE=B7=CF=82 11=CE=92;=CE=9C=CE=B1=CF=81=CE=BF=CF=8D=CF=83=CE=B9;;151 25;Greece
email;internet:[EMAIL PROTECTED]
title:Technical Architect
tel;work:+ 30 210 80 29 409
tel;fax:+ 30 210 80 29 819
tel;home:+ 30 210 93 49 764
tel;cell:+ 30 694 58 76 506
x-mozilla-html:FALSE
url:http://www.vahlas.eu
version:2.1
end:vcard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to