I have a camel route like this (I removed the < and > symbols to prevent from being filtered by Nabble):
route from uri="cxf:bean:dummySerivceEndpoint" / process ref="endProcessor" / /route As is shown above, dummySerivceEndpoint is simply an entrance to accept SOAP messages. It is synchronous, and uses the PAYLOAD message format. End processor invokes exchange.getOut().setBody(cxfPayload) to manually set the response to be returned to the client, where cxfPayload's body contains a W3C XML DOM object built from a file on the local disk. To use the route, I send a SOAP message to dummySerivceEndpoint with the XML sender plug-in of the Eclipse IDE. However, despite that exchange.out is set by endProcessor, I still get a SOAP message with empty SOAP body in the "Response text" control of the XML Sender. Why? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Get-SOAP-Response-from-the-Last-Camel-Processor-in-the-Route-tp4127850p4135591.html Sent from the Camel - Users mailing list archive at Nabble.com.
