How to log the request received by WebApi's if it is exposed for third party system to consume?

Hi,

 

We have Webapi's which are exposed to third party system to consume, I would like to know how to enable logs to know the request/response details which has been received/sent whenever the webapi is invoked by the third party system.

We are calling Expression Rules from our Webapi and not triggering any processes.

 

 

Regards,

Balaji.R

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi

    Adding to the suggestions provided by the practitioners.

    If you are only looking to debug the Request and Response then,

    Why don't you create and configure an Integration Object having the same service account details (provided to Third Party) configured and try invoking the Web-API to understand the Request and Response sent/received via this API. As you are aware that Integration Object acts like a Consumer and can consume an exposed Web Service (with-in or outside Appian Environment).

    Alternatively you can use other Third-party clients such as SOAP UI to understand the Request and Response Data and their format.

    NOTE: This approach is only applicable for Testing and debugging an API. And if these clients are able to consume and get the Response from your API then your Third Party Client should also be able to get the response as expected (if the configurations in the Client side are provided properly)
Reply
  • 0
    Certified Lead Developer
    Hi

    Adding to the suggestions provided by the practitioners.

    If you are only looking to debug the Request and Response then,

    Why don't you create and configure an Integration Object having the same service account details (provided to Third Party) configured and try invoking the Web-API to understand the Request and Response sent/received via this API. As you are aware that Integration Object acts like a Consumer and can consume an exposed Web Service (with-in or outside Appian Environment).

    Alternatively you can use other Third-party clients such as SOAP UI to understand the Request and Response Data and their format.

    NOTE: This approach is only applicable for Testing and debugging an API. And if these clients are able to consume and get the Response from your API then your Third Party Client should also be able to get the response as expected (if the configurations in the Client side are provided properly)
Children
No Data