Please let me know if it is possible to send an XML as a string over a http connection and get back the response in a XML (as a String) without using any parsing mechanism?
Is it feasible in Apache CXF? or use of Streams/parsers is mandatory? Is there a configuration in Apache CXF which does this for me if I provide the content-type as text/xml?
I want to do this without using SOAP.
I used the WebClient API support in CXF.
Snippet below: