camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sag21 <>
Subject Sending Soap Message as response
Date Thu, 12 Mar 2015 19:20:10 GMT
How to send the soap message as whole payload in camel not just separate body
and sign the header differently.
What  I am trying to do is creating the SoapMessage and adding the multiple
elements without root element.I need to sign the header too. 

Here is how exchange looks like 
exchange.getIn().setBody(soapMessage, SOAPMessage.class);

Here is the soapMessage content.
<env:Envelope xmlns:env="">
  <env:Header>Encrypted Key<env:Header/>
    <employee xmlns="Namespace1" id="2">
    <customer xmlns="Namespace2" id="1">

It would be great if someone throw some light on how the transform will be
in done in camel-context.
I am using the spring ws endpoint.

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

View raw message