camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Camel cxf route interception and SOAP messages
Date Tue, 01 Apr 2008 04:37:51 GMT
Hi ,

Do you use the SAAJ to build up the SOAP message ?
Maybe you need to show us the codes or a small test case to let us 
reproduce the error.


Ian de Beer wrote:
> Hi
> I have created a camel route similar to the cxf provider example. The
> exchange is correctly routed to a bean that creates a SOAP message . Before
> I return the message I display it and I can verify that it contains the
> correct response. However when the response message arrives back at the SOAP
> client the content of the SOAP message body has mysteriously disappeared. I
> also notice that the namespaces has changed from what I have set them to.
> What I send:
> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV=""
> xmlns:ns1=""
> xmlns:soap=""
> xmlns:wsdl=""
> xmlns:xsd=""
> xmlns:xsi=""
> SOAP-ENV:encodingStyle=""><SOAP-ENV:Header/><SOAP-ENV:Body><ns1:getRatingResponse><rating
> xsi:type="xsd:float">123.11</rating></ns1:getRatingResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
> What I receive:
> <soap:Envelope
> xmlns:soap=""><soap:Body><ns1:getRatingResponse
> xmlns:ns1=""/></soap:Body></soap:Envelope> 
> Can someone perhaps shed some light on this behaviour.
> Regards
> Ian

View raw message