Logging web services requests and responses

By Francisco Vasco on 13 May 2010

I would like to propose the inclusion of a logging capability for the SOAP requests sent and received from any WebService in the scope of an eSpace.
Meaningful information to be included:
-Server and port
-Date + time
-SOAP messages sent and received
-User
-Originator (process, flow, ...)

And a log viewer that enables the search for Web Services invocations based on:
-Service name
-Date
-Originator
-User
The Soap messages (sent and received) should be presented in XML.

What we gain:
-easy way of detecting configuration errors (wrong server, ...)
-easy way of validating the input sent, for user input errors
-easy way of validating the output sent from the back-end system via the web service

Thanks,
Francisco Vasco
It would be great if a SOAP request log would be added to see which "RAW" requests went out, which came in and which are part of the same transaction / Business Process.

Providing this log through:
  • A separate webportal OML to provide externals to see the log for the webservice they are calling. (A filter based on the requesting IP address)
  • The Service center (drilling down on the webservice log, showing the original request)

This could come in handy in:
  • Debugging / Test situations; enabling short test runs and easy redo of a certain situation
  • Live situations; enabling a clear view of errors that have occurred and perhaps a possibility to manually correct a Live error situation
  • A download of the original request with the possibility to change and resubmit the request would be IDEAL


Merged from 'SOA request logging' (idea created on 21 Apr (3 weeks ago) by Eric Oud Ammerveld), on 18:16 (just now) by Pedro Oliveira
Matthias Preuter21 Apr 2010

This would be extreemly handy indeed! Especialy when it's includes HTTPS.


Merged from 'SOA request logging' (idea created on 21 Apr (3 weeks ago) by Eric Oud Ammerveld), on 18:16 (just now) by Pedro Oliveira
P.S.; I have created an OML with a highlight script that is capable of displaying several filetypes e.g. (XML / SQL / HTML etc.) with different themes.

It's based on this javascript.

Please let me know if you're interested; I'd be happy to pass it on.

Merged from 'SOA request logging' (idea created on 21 Apr (3 weeks ago) by Eric Oud Ammerveld), on 18:16 (just now) by Pedro Oliveira
J.13 May 2010

absolutely in favour of this!

no need to use fiddler and all sorts of sniffers in the first place
J.14 May 2010

Oeps, I think you are completely right
André Vieira18 May 2010
Very helpful for integration traceability.

Merged from 'Automatic audit of webreference and webservice inputs and outputs' (idea created on 2010-05-18 21:26:05 by André Vieira), on 2010-05-20 16:08:34 by Paulo Tavares
Fernando Sousa19 May 2010

I think this idea is related with http://www.outsystems.com/wisdomofthecrowds/IdeaComment_List.aspx?IdeaId=125

Merged from 'Automatic audit of webreference and webservice inputs and outputs' (idea created on 2010-05-18 21:26:05 by André Vieira), on 2010-05-20 16:08:34 by Paulo Tavares
J.15 Dec 2010
so when will this be implemented *cough*
If you've built webservices the way we build web services, you can use WebServiceEngine component and be able to log any web service request and response, it supports all protocols such as SOAP, REST XML, and REST JSON.
J.10 Jun 2013
This is not yet available in 8????

That would pretty useful.

Enable HTTP Wire Logging To enable verbose logging for HTTP request and response handled by Outsystem Applications