I believe Anne recommends arrays over ArrayLists in these cases[1]. They are more interoperable with non-Java platforms and map more easily to the WSDL types.
Listing #7 on page 3 of this tutorial[2] (free registration required) might be a good option for you on how you can represent the database columns and rows that you return in your WSDL. Then run wsdl2java, and let the Axis codegen determine how it will implement this data into Java objects. Glen [1] http://marc.info/?l=axis-user&w=2&r=1&s=anne+arraylist+array&q=b [2] http://www-128.ibm.com/developerworks/edu/ws-dw-ws-understand-web-services2.html Am Freitag, den 04.05.2007, 03:19 -0700 schrieb Kencana: > Hi all, > > Lets say, there are many fields on the database table. > so when user wants to retrieve all the data, basically what i did in normal > java application is > I bind it to an arrayList. > so my question is, can axis return arrayList data type? > or is there any other solution to let user retrieve all the data from the > table fields and > bind it to the xml file. > for example: > <user> > <name>Kencana</name> > <gender>female</gender> > </user> > <user> > <name>Bob</name> > <gender>Male</gender> > </user> > > sorry for my poor explanation, I hope you guys can understand what I am > trying to do > > Thanks > > Regards, > Kencana --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
