Java Technologies for Web Services - exchanging database rows between axis server and the client

Hi,

I have set up an axis server on my system, which runs oracle database. I now want to return my results to a client. Since my result can have many rows of the database, currently I am creating a comma separated list of my rows as a strings in my server and returning it to the client. Can someone give me a few pointers on better methods to exchange resultsets or rows of data between an axis server and its clients.

Thanks a lot!

[452 byte] By [annas24a] at [2007-11-26 23:10:47]
# 1

It really depends on what you want to return from the web service. If the response of the WS needs to be interoperable, you need to map each DB row to a XML complex return type. But if interoperability isn't really required, then take a look into a WebRowSet. It automatically converts the JDBC row set to XML form that can easily be returned from a WS.

MrButtheada at 2007-7-10 14:07:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Can someone let me know, what the problem would be, if I populate my database results in a vector and return the vector from the server.Thanks
annas24a at 2007-7-10 14:07:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...