Need to view SOAP request and response in Audit logs
search cancel

Need to view SOAP request and response in Audit logs

book

Article ID: 236608

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

We want to be able to view the associated SOAP request and response in the Audit Event view.  By default it looks like they are not logged, as the 'Request' and 'Response' tabs are grayed out.  How do we enable this ?

Environment

Release : 9.3

Component : API GATEWAY

Resolution

 I can do a global just by setting an audit messages in policy and save request (or response or both). And doing it the message-received or message-completed policy. 

Be aware that if you use fragments including Global message-xxxxxxxxx policies. That if you have multiple audit messages in policy assertions they can conflict with each other. 

i.e.

assertion 2 -> Audit messages in policy save request/response

Fragment assertion 42 Audit messages in policy save request/response Never. 

The latest (or last at 42) will cause the earlier save request/response not to act or be valid because its overridden. 

So if you have many audit messages assertions in your policy instead of early in the policy you may want to add it at the very end to ensure its the active version of the assertion.