Here is Utils.toCxfPayload():
@SuppressWarnings("unchecked")
public static CxfPayload toCxfPayload(String text_) throws Exception
{
// Build w3c Document from text_.
org.w3c.dom.Document w3cDocument = ... (text_);
// Prepare header and element lists for Cxfpayload.
List elements = new ArrayList();
elements.add(w3cDocument.getDocumentElement());
// Create Cxfpayload.
CxfPayload payload = new CxfPayload(null, elements);
return payload;
}
As is shown in the log output of the previous post, I think the Cxfpayload
object is correctly constructed.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-Get-SOAP-Response-from-the-Last-Camel-Processor-in-the-Route-tp4127850p4171293.html
Sent from the Camel - Users mailing list archive at Nabble.com.