I have faced this problem for another endpoint also, but this time for
response. As clearly i can see exchange contains response message but while
converting it with xmlconvertor it returns "".

Simple converting it to string gives me reponse string like :
String response = exchange.getOut().getBody(String.class);

but while doing it with 
CxfPayload<SOAPHeader> resPayload =
exchange.getOut().getBody(CxfPayload.class);
List<Element> inElements = resPayload.getBody();
XmlConverter converter = new XmlConverter();
String documentString = converter.toString(inElements.get(0), exchange);

returns "".

Are there some interceptors which removes body from the CXFPayload?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-strips-all-the-xml-elemets-and-attributes-and-send-only-data-with-whitespace-tp5721973p5722099.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to