On Mar 21, 7:18 am, "Bogus Exception" <bogusexcept...@gmail.com>
wrote:
> It would seem simple, but it is proving difficult to find an example
> that takes XML from a web service and creates java objects from it.
[quoted text clipped - 16 lines]
>
> TIA!
If you don't mind using a 3rd party lib, I would recommend Castor:
http://castor.codehaus.org/
It gives you the possibility of generating classes from XML schema's,
or ,if you already have your classes, to use a mapping. I've found
the maintainers very helpful if you have problems getting started.
Henk
Lew - 21 Mar 2007 13:56 GMT
> On Mar 21, 7:18 am, "Bogus Exception" <bogusexcept...@gmail.com>
> wrote:
[quoted text clipped - 16 lines]
>>
>> }
If you use Apache Axis, there is the WSDL2Java tool. The project's
documentation is the place to look for examples.
-- Lew
Bogus Exception - 24 Mar 2007 13:21 GMT
Hmm.. I posted a reply, but it never made it to the group.. For those
who helped, and those others interested, I posted the reply where it
couldn't be blocked/filtered:
http://atcp.us/blog/2007/03/22/deserialization-of-vbnet-object-via-j2ee-web-serv
ice-using-xstream/
Thanks!
> > On Mar 21, 7:18 am, "Bogus Exception" <bogusexcept...@gmail.com>
> > wrote:
[quoted text clipped - 21 lines]
>
> -- Lew