On Tue July 14 2009 5:34:11 pm Benson Margulies wrote:
> If someone just wants to pass arbitrary XML out of a JAX-WS+JAXB
> service, what do they use for a return type? org.w3c.dom.Document?
> JAXBElement?

Usually org.w3c.dom.Element, but out of a webservice method might be tough.  I 
THINK you would need to create the proper wrapper class as you would also need 
to add an @XmlAnyElement(lax="false") attribute to the field.    If it's a 
field in another JAXB bean, it's just a Element with that annotation.


-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to