On Tue, 26 Jun 2001, sushi mitra wrote:

> Hi,
>
> I wrote a simple web service which is returning result of a sql query. I am
> wondering how do I return the ResultSet to the client. I understand I need
> to write a bean, but not sure how I am going to do it.

Come up with an XML representation of the result set and write a class
that traverses the ResultSet and builds an org.w3c.dom.Element object and
returns it as a result. AFAIK, Apache SOAP can accept an Element as a
parameter.



Oleg

Reply via email to