Adding header to SOAP request while making web service call

Hi All,

I am using pub.client:soapClient to make a web service call. I have added the header as name value pair in soapHeaders document in the input of soapClient service, but the header is not reflecting in the soap request.

Have anyone tried and faced this?

Any thoughts on this?

Is the soap header defined in the provider’s WSDL?
I think WM will filter out the client-added header if it’s not matching the soap header defined in WSDL .