Log both requests and responses of web references and web services

By Filipe Martins on 22 Apr 2014
It would be great if the XML content of the requests and responses could be logged. This could be available in the web references and web services log in service center.
Justin James23 Apr 2014
Filipe -

I agree. It is pretty tough to debug this unless you can run the server locally and use packet capture. :( I usually end up mimicking the request in SoapUI and getting the input variables through the debugger, which is NOT ideal.

J.Ja
Filipe Martins23 Apr 2014
Hi Justin,

Yes, using SoapUI is usually the workaround we have to use. However, as you said, it is not the ideal way as you still don't know for sure what is the extact request or response you're sending/receiving.

Also, if you are working on an environment with strict security policies, you may do not have permission to access certain webservices from your local machine, which turns SOAP UI not useful at all at this scenario.
Justin James23 Apr 2014
Filipe -

Yes, there's that. And sometimes you need to see the headers or other information to understand why something is failing, particularly with authentication problems.

Debugging Web Services is in my top 10 list of pain points right now.

J.Ja
J.30 Apr 2014
I will vote for this, because it's bugging me for a long time

http://www.outsystems.com/ideas/125/logging-web-services-requests-and-responses/

Kilian Hekhuis16 May 2014
I think there is a Forge component for logging SOAP calls, but I can't seem to find it. We're using it in our software to log content to the database.