Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SOAP message tracing

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes
594

Hi All,

I am trying to consume a PeopleSoft web service. I need to do some trouble shooting.

I use <b>WAS run time and ABAP work</b> bench for consuming the web services.

I need to see the SOAP message I send, when i execute my client program. How can I see it?

Trace? In logical port, i have set full trace/full log., when i see in SMICM i do not see the SOAP message sent by the system. Is there any way to see the SOAP message sent by the system ?

Appreciate your reponse.

Hi All,

I am trying to consume a PeopleSoft web service. I need to do some trouble shooting.

I use <b>WAS run time and ABAP work</b> bench for consuming the web services.

I need to see the SOAP message I send, when i execute my client program. How can I see it?

Trace? In logical port, i have set full trace/full log., when i see in SMICM i do not see the SOAP message sent by the system. Is there any way to see the SOAP message sent by the system ?

Appreciate your reponse.

2 REPLIES 2
Read only

Former Member
0 Likes
467

Hi,

I found a way to see the content of the messages in debugging:

Outbound message (request):

In class CL_SOAP_MESSAGE method IF_SOAP_MESSAGE_PART~SERIALIZE

put a breakpoint on buffer = krn_ser->get_stream_output( ).

Table buffer contains the soap message (maybe you have to translate the codepage from 4103 to 4110 in a unicode system (new debugger).

Inbound message (response):

In class CL_SOAP_MESSAGE method INIT

put a breakpoint on krn_ser = cl_soap_xp=>create( xmldoc_utf8 = m_message ).

m_message contains the soap message.

Hope this helps.

If anyone has a better solution please reply.

Kind regards,

jeroen

Read only

kammaje_cis
SAP Mentor
SAP Mentor
0 Likes
467

No answer. Closing.