How do you think Java2WSDL should interpret a return type of ArrayList ? ( If you could provide an alternate xml representation other than type ="SOAP-ENC:Array" I could change Java2WSDL/WSDL2Java to honor it. I don't know anything about <list>...maybe this is the answer ?
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
"David L. Cole"
<DLCole@cmsenergy To: [EMAIL PROTECTED]
.com> cc:
Subject: Methods Returning ArrayList
converted to Object[] in WSDLToJava
02/21/2002 03:32
PM
Please respond to
axis-dev
I am trying to use the WSDLTOJava to generate the client stubs and found
that If I have a method in my class which has
a return type of ArrayList (i.e public ArrayList foo() ), The generated
WSDL will show the return type as:
<wsdl:part name="return" type="SOAP-ENC:Array" />
After running WSDLTOJava , the generated stub will then have a return type
of Object[] i.e:
public java.lang.Object[] foo()
Is it possible to have the WSDL generated so that it correctly depicts the
return type as the expected ArrayList?
Thanks,
David Cole
