cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Header info

Former Member
0 Kudos

Hi Experts,

Depends on the SOAP Header information, I have to call the corresponding synchronous services in XI. Is it possible? If yes, could you please tell how to do that?

For Example :

1. SOAP Header : c1

Service : Call the c1 service

2. SOAP Header : c2

Service : Call the c2 service

Regards

Sara

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have a look at this link.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

Regards,

Akshay Jamgaonkar.

    • reward point if find useful.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sara,

Can you check by using conditional receiver determination.

You can check for the value of feild giving you C1 and C2.

Accordingly you can call two different services.

Which would in turn let you do two receiver determination and call those SOAP receiver channels based on this condition.

Regards,

Akshay.

    • Reward points if find useful.

Former Member
0 Kudos

Sara,

Is this custom fields in the SOAP header or standard SOAP Header fields?

Note that you can use context objects for accessing many std SOAP Filename, Directory etc..

Is this what you are looking for?

Regards

Jai Shankar

Former Member
0 Kudos

Hi Jai,

Depends on the SOAP (client) request, I have to call the service.

Client1 & Client2 : Same set of request it will pass, only thro' the SOAP Header I can differentiate the clients.

If the request comes from Client1 then I hv to do the service1 and If the request from Client2 then I hv to do the service2.

I don't know, what type of actions I have to do for this scenario. If you have any idea, please let me know.

Regards

Sara

Former Member
0 Kudos

Sara,

Can you let me know which field in SOAP message contains the value of client application that sends the msg.

Regards,

Jai Shankar

prateek
Active Contributor
0 Kudos

U may access the header info using this

http://help.sap.com/saphelp_nw04/helpdata/en/b3/9a2aeb24dc4ab6b1855c99157529e4/content.htm

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

U may also use the XSL code for the same

Regards,

Prateek