Has anyone tried passing cutom tokens in http headers while using weservice consumer.
There is nothing to add custom token to http headers using soapHTTP, soapClient, soapRPC.
We have to send a token (say xyz=123) in http headers.
-soapDataToString (assuming you have soapData in pipeline)
-http (post, specify soapAction if there is any in headers, content type along with your custom headers)
-Branch\header\status
200- soapStatus-0
500-soapStatus-1
default-soapStatus-2
-streamToSoapData
Yarkar,
What you have suggested is trying out with normal http post with soapData as http body.
I will try this but this would mean customising the webservice consumer.
Senthil,
addHeaderEntry will add token in SoapHeader, we want to add token in Http header