cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Header

Former Member
0 Kudos

Hi Experts,

My scenario is to access the HEADER element in the incoming SOAP Header and use it as a condition for Receiver determination.

Can somebody give example of

1) XSLT / java code which can be used to access SOAP Header elements.

2) How use this to determine the receiver.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check Liang's response(last rsp) in the follwing thread :

Former Member
0 Kudos

Thanks for the replies.

I have gone through the forum already. I could not use William Li's blog as I can not modify the sender structure to accomadate the Header elements.

coming to Liang's code - if I use his code will Header and Body get sepaerated.

He specified Body[1] in copy-of-select . what does it mean

Should I put Header in place of Body[1] to get Header.

Once I get the header how can I use it in Receiver Determination.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can achieve this by setting the Adapter-Specific Message Attributes under advanced tab in your CC.

check below link for the same..

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm

Regards,

Sarvesh

Former Member
0 Kudos

Hi Vamsi,

check this blog, with it you can achieve what you want with no coding. It's a kind of "trick" to set the message header as part of your message:

/people/william.li/blog/2009/07/30/how-to-read-soap-header-information

Edited by: Jorge Lopez on Oct 22, 2009 10:17 PM