You could probably write Serialize/Deserializer yourself for the ResultSet object.
Actually, some database provide a way to retrieve the ResultSet as xml.
Regards,
- kiru
Michael Schuerig <[EMAIL PROTECTED]>
10/18/2004 04:14 AM
|
|
On Monday 18 October 2004 09:48, WAJSBERG Julien RD-BIZZ wrote:
> Michael Schuerig a écrit :
> >I'm still pretty new to web services in general and Axis in
> > particular. I have a case, where I don't want to generate the value
> > returned from a call not from objects. I have the ResultSet from a
> > database query and would like to avoid first binding its rows to
> > objects which are later converted to XML anyway. Instead, I'd
> > prefer to generate a suitable XML representation myself -- that is
> > if I knew how it ought to look and how to tell Axis to use it. Any
> > pointers are appreciated.
>
> You should use document/literal style SOAP messages, using Axis'
> Message style.
> Check the archives, someone provided some good examples a few days
> ago :)
Thanks for pointing them out. As a last resort I'll have to do it like
that. What I don't like about that approach is that I'd have to do
everything manually. In general, I'm very happy with java-rpc-style
calls. I just want a customization: For a specific type I want to
handle the serialization/deserialization myself. Is that possible?
Michael
--
Michael Schuerig Thinking is trying to make up
mailto:[EMAIL PROTECTED] for a gap in one's education.
http://www.schuerig.de/michael/ --Gilbert Ryle