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

Reply via email to