You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Gondi,Manjula" <MG...@anteon.com> on 2003/11/12 22:33:30 UTC

ArrayList has a type of "" in the WSDL

Hi,

I have successfully deployed a web service which has a method that returns a JavaBean. One of the attributes of
the java bean is an object of type java.util.ArrayList. I have deployed the the same web service on two machines both
running Macromedia JRun( as the application server which has Apache Axis as the web service engine).
 The problem is that in the case where it does not work, the ArrayList attribute has a type of "" where as in the case 
where it works, the ArrayList attribute has a type SOAP-ENC:Array.
Since the type is "", i am not able to run WSDL2Java successfully  on my client side. I did not write any special serializer/deserializer
for the machine where it works.

I noticed that the wsdl:definitions section is slightly different in both the wsdl file. the lines that i noticed were

WORKING WSDL
-----------------------------
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="https://10.170.1.103/ws/services/TestInvService-impl" xmlns:intf="https://10.170.1.103/ws/services/TestInvService"
NOT WORKING WSDL
-------------------------------------
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://10.170.1.81/ws/services/TestInvService" xmlns:intf="https://10.170.1.81/ws/services/TestInvService" 
I don't know what settings are different. the server-config.wsdd file is identical on both machines. Any help is greatly
appreciated in helping me fix the machine where it does not work.
Thank you
Manjula


(I have attached the two wsdl files)
 <<notworking.wsdl>>  <<working.wsdl>>