camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin <>
Subject Re: Camel-CXF strips all the xml elemets and attributes and send only data with whitespace
Date Sun, 04 Nov 2012 11:51:12 GMT
Strange, jut to let you know guys, it works with toString method of
org.apache.cxf.helpers.XMLUtils inspite of


CxfPayload<SOAPHeader> resPayload =
List<Element> inElements = resPayload.getBody();
String response =XMLUtils.toString(inElements.get(0));

gives you proper unmarshalled xml. Yet to find out the reasons though.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message