camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: How to Get SOAP Response at the End of a Camel Route?
Date Sun, 20 Mar 2011 16:59:16 GMT
On Sun, Mar 20, 2011 at 1:55 PM, hyjshanghai <> wrote:
> 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?

Read this FAQ

And post your code you do in the processor

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

Claus Ibsen
Twitter: davsclaus
Author of Camel in Action:

View raw message