You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by johper <ka...@hotmail.com> on 2008/01/24 17:45:46 UTC

soap header and http component

Hi,

Using HTTP and SOAP and would like to add to SOAP Header like:

<soapenv:Header><ns6:AuthenticationHeader
xmlns:ns6="http://net/Security"><ns6:Dsn>DB</ns6:Dsn><ns6:Proof>pwd</ns6:Proof><ns6:UserName>usr</ns6:UserName></ns6:AuthenticationHeader></soapenv:Header>

This header need to be set before providing service call from SMX.

Anyone know how to do this?

Tia
-- 
View this message in context: http://www.nabble.com/soap-header-and-http-component-tp15069343s12049p15069343.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: soap header and http component

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

If you are using servicemix cxf component, you can refer to how to set 
soap headers in cxf, [1] is the disscussion about it
[1]http://www.nabble.com/Add-SOAP-HEADER-value-td11710546.html#a11710546

Best Regards

Freeman

johper wrote:
> Hi,
>
> Using HTTP and SOAP and would like to add to SOAP Header like:
>
> <soapenv:Header><ns6:AuthenticationHeader
> xmlns:ns6="http://net/Security"><ns6:Dsn>DB</ns6:Dsn><ns6:Proof>pwd</ns6:Proof><ns6:UserName>usr</ns6:UserName></ns6:AuthenticationHeader></soapenv:Header>
>
> This header need to be set before providing service call from SMX.
>
> Anyone know how to do this?
>
> Tia
>