Question
How can I implement log SOAP/REST request, response, service status & response time in DB?
I have a requirement to log SOAP/REST request, response, service status and response time in PRPC database for all SOAP/REST service. My application is consuming 50+ SOAP and REST service and we have to capture the details in database, is there any way to make the this change in activity InvokeAxis2 for SOAP & pyinvokerestconnector for REST or any better place. We don't want to change for all 50 services individually.
***Edited by Moderator Marissa to update platform capability tags; edited title for length****
Hi,
You can create common utility activity which will have below steps with parameters like below.
Parameters:-
Request DT
ResponseDT
ServiceName
ServicePagename
Activity Steps:-
1. Create new parameterpage.
2. Run the request DT to form request data.
3. You can commit your requestdata.
4. Call Connect-Soap/ Connect-Rest method.
5. Run the response Dt to map the data from service page to application page.
6. You can save the response .
Thanks,
Deva.