On Sep 19, 2012, at 3:17 PM, Sonam Wangyal <[email protected]> wrote:
> I have a jaxws webservice that returns a xml element. I want to have that > returned as an actual xml in the response instead of the xml tags encoded > with >l; tags. > > Is there a way to do that? You would need to make sure the return type is an "xml" type. Generally something like javax.xml.Source would work and you can then use a StreamSource or similar wrapping a StringReader or similar. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
