Ok I got it, here is the code I added in my bean :

Map<String, String> headers = new HashMap<String, String>();
headers.put("SOAPAction", actionName);
savedInputMessage.setProperty(JbiConstants.PROTOCOL_HEADERS, headers);



will_mad wrote:
> 
> Hi,
> 
>  
> 
> Here is my flow:
> 
> SOAP-HTTP-CONSUMER => BEAN-SU => SOAP-HTTP-PROVIDER 
> 
>  
> 
> I would like to add some properties to the soap message header in the bean
> su component before sending it through the http provider. 
> 
> More precisely, I would like to add the soapAction value from the original
> message to the message forwarded to the provider.
> 
> Is it possible to do this?
> 
>  
> 
> Thanks.
> 
> William
> 
> 
> 


-- 
View this message in context: 
http://www.nabble.com/Add-header-properties-to-a-soap-message-tf4778408s12049.html#a13670394
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to