users@jaxb.java.net

Re: using JAXB and AXIS2 version 0.94

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Wed, 22 Mar 2006 17:05:39 -0800

Beech Tanya wrote:
> Does anyone has experience of taking an Axis2 AXIOM OMElement and
> unmarshalling this into a JAXB generated object?

I looked at their javadoc quickly. It should be possible to write code
that read OMElement and fire SAX events. Or wrap OMElement to StAX
XMLStreamReader/XMLEventReader. Those are adapters that are general
purpose enough, so maybe you can even ask AXIS2 guys to write on efor you.

Then you can pass those to JAXB.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com