HI DEVAL !

you can ! but it´s not easy,  you must create a serialized and
deserialized " ArrayList" class.
I recomend you to use an Array Object definition because Arrays are
standar in all plataform.  !!!

then in the client you load a list with the object array.

bye
quino1


 


On 8/10/05, DEVAL SHAH <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have a class called ResultList which contains a List as a variable. This
> list is a collection of a another class called Result. How do I write my
> wsdd so that it understands that ResultList contains a list of Result.
> 
> class ResultList {
>   List resultList;
>   getters and setters ....
> }
> 
> class Result{
> int num;
> String name;
> }
> 
> When I try to generate the classes with wsdl2Java by ResultList class
> becomes
> class ResultList{
>   Object [] resultList;
> }
> 
> It doesnt generate the Result class at all.
> Is it possible to tell Axis that I want a List that contains Result and not
> an array of objects.
> 
> Thank you in advance
> Deval
> 
> 
>

Reply via email to