cancel
Showing results for 
Search instead for 
Did you mean: 

How to add HTTP header in SOAP Receiver channel

0 Kudos

Hi

We need to add a user defined filed (key value pair ) to HTTP header in soap receiver channel. using this header value target will authenticate to log in the to SOAP URL.

Can any one advice how to add HTTP Header in SOAP receiver channel.

We tried with adapter-specific Message Attributes and "AddSOAPHeaderBean" module but these are adding Header in SOAP header but not in HTTP header.

If any one has idea on this please advice.

Thanks in advance and have a nice day.

Accepted Solutions (0)

Answers (3)

Answers (3)

ckaberia
Participant
0 Kudos

HI, HOW DID YOU ACHIVE THIS?

stefan_grube
Active Contributor
0 Kudos

Enable Variable Header fields in receiver channel. You can use XHeaderName1, XHeaderName2 and XHeaderName3. Define the HTTP header field name in the channel, the field value has to be provided in dynamic header (ASMA). Check online help for further information: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/48/327519a3af58d8e10000000a421937/content.htm?frame...

0 Kudos

Hi Stefan

Thanks for the input but using this header is populating in soap header but not in HTTP Header.

Our requirement is that we need to add authorization in http header as show in below

    

- Lakshman

former_member186851
Active Contributor
0 Kudos

Hello Lakshman,

why dont you try XSLT or Java mapping.

0 Kudos

Hi Raghuraman

Thanks for your input, can you please share any sample code to add http header.

-Lakshman