Skip to Content
0
Former Member
Apr 30, 2012 at 12:16 PM

Web Services (providing) - Get header information

21 Views

Hello,

I have a simple WS defined as service provider. It works perfectly, I can call it without problems from SOAP_UI for instance.

But, I just had a new requirement of tracing. Indeed, each time the call is done in SAP, I should be able to get information from the HEADER such as REQ_ID or whatever.

I know that everything can be seen in SOAMANAGER but this isn't the purpose.

I need to create a custom table with this REQ_ID that will allow me later to search info in the table SRT_MONI_PAYLOADTRC and to get XML message.

I know that for consuming web services, you could use WS_HEADER but for providing web services ? How can I have access to these data ? Should I do something else in my FM that I have exposed in Web services ?

I hope I was clear.

Thank you in advance for your answer.

/JP