cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom web service not available in web service message monitoring

0 Likes
1,293

Hello all,

I created a new web service and cannot see it in web service message monitoring. Is it not possible to see cuttom web services there or am I doing something wrong?

thx

BR

Oleg

Accepted Solutions (0)

Answers (3)

Answers (3)

nish_murthy
Product and Topic Expert
Product and Topic Expert

Hi ogerner

There can be messages of 2 types:

  1. Synchronous calls are logged in Web Service Message Monitor only if they fail.
  2. Asynchronous calls are logged irrespective of success or failure.

Custom web services are of synchronous type, hence successful calls will not be logged.

Please refer the KBA: 2228032

Blog: https://blogs.sap.com/2017/08/09/c4c-web-service-message-monitoring/

Hope this helps.

Best Regards,

Nishanth

0 Likes

Hi Nashanth,

thank you for your reply. I failed to understand is that all custom web services are of the synchronous type. Because I created an asynchronous web service and I can see it in Monitor only if it fail.

PDI request:

var response = ServiceRequestTicket.CompReplication(request, " ", "ServiceRequestC");

I can read ERP response / message in variable Response.

My problem is, I use a synchronous ws ERP to C4/Hana to update tickets. But if a ticket is in EDIT MODE, it will not be updated and I do not see it. because there is probably no error.

BR

Oleg


former_member226
Employee
Employee
0 Likes

Thanks, nish_murthy for updating that synchronous messages are only logged in web service monitoring if there is an error.

Just an FYI...You can log all(including successful and error) synchronous web service calls using "Start Trace" button available under "..." on the right-hand side for web service monitoring UI, But the trace will be actibve only for 30 mins. More information can be found in the link below:

https://help.sap.com/viewer/5d3ae4aa1f174b2cb6ec625c93ef8884/LATEST/en-US/98c0b9ea6d8e1014a79e979add...

Thank you saurabhkabra2009 for your tip on the trace function.

BR

Oleg

former_member226
Employee
Employee

Hello.

You should be able to see the custom SOAP service messages in Web Service Monitoring:

Maybe you can try to click "Refresh" button upon navigating from "Web Service Monitoring".(At least in my case it was not showing message but when I click refresh then it started appearing)

0 Likes

Hello Saurabh,

I use Always the refresh button, but that's not the reason. I can see all standard webservices, Inbound and Outbound, but I cannon see my w.s.

However, the WS works and the data (ticket) is updated.

BR

Oleg