users@jaxb.java.net

Re: JAXB support for SOAP.

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 05 Apr 2005 15:16:48 -0700

Uday Subbarayan wrote:
> Guys,
> I am looking at JAXB for marshalling XML docs into Java Objects
> but what happends some one sends me a SOAP message? Can I use JAXB to
> marshall the data in the SOAP body to instances of java objects?

Yes. For example you can use SAAJ to parse a SOAP message, take the body
part available as a DOM from SAAJ, unmarshal it with JAXB.

> Is there any work done in this space?

In JAX-RPC 2.0, JAX-RPC will be using JAXB for the databinding, so it
will be easier to do that kind of stuff.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com