If that's arbitrary XML then maybe @WebServiceProvider is a better choice?
dkulp wrote: > > 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 > > -- View this message in context: http://www.nabble.com/JAXB-and-DOM-tp24488212p24512484.html Sent from the cxf-user mailing list archive at Nabble.com.
