on 11-17-2009 5:31 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.