Logging web services requests and responses
5130
Views
22
Comments
Implemented
Data & Integrations
OutSystems 9.1


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

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
2016-04-21 20-09-55
J.
 
MVP

absolutely in favour of this!

no need to use fiddler and all sorts of sniffers in the first place
I think this is a duplicate request of this post
https://www.outsystems.com/ideas/8/
2016-04-21 20-09-55
J.
 
MVP

Oeps, I think you are completely right
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

I think this idea is related with https://www.outsystems.com/ideas/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
2016-04-21 20-09-55
J.
 
MVP
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.
2016-04-21 20-09-55
J.
 
MVP
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

Hi all,

This has been implemented already in 9.1.609.0 and it will come out in the next patch of OutSystems 10.

Merged this idea with 'Log both requests and responses of web references and web services' (created on 22 Apr 2014 08:44:26 by Filipe Martins)
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.

Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves
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


Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves
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.


Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves
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

Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves
2016-04-21 20-09-55
J.
 
MVP
I will vote for this, because it's bugging me for a long time

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



Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves
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.

Merged from 'Log both requests and responses of web references and web services' (idea created on 22 Apr 2014 08:44:26 by Filipe Martins), on 25 Jul 2018 13:54:26 by Hugo Gonçalves