cancel
Showing results for 
Search instead for 
Did you mean: 

Read SOAP Header

Former Member
0 Kudos

I am using third party Service registry instead of SAP service registry to expose SAP web service . So any service request is comes into SAP through this third party application. Now I have requirement that I need to read SOAP header of Service request because it contains user related information.

Any pointer will be highly appreciated.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Priya,

Unfortunately SAP doesn't recognize SOAP header fields in wsdl and that's why it won't create any object for same and that's why you can't access SOAP header information directly.

Although you can do it by writing ABAP program which create SOAP message by itself i.e. by assigning hardcoded tags and then sending this information via http post to WS url, return message will be in xml so you again need to write transformation program to read output.

Search SDN for Webservice call from ABAP for sample code.

I did same for 3rd party services like .Net which give you access to SOAP header and you can keep login/session information in header.

Regards,

Gourav