XML request body with ws-security header is not being printed in APIcast log

Solution Verified - Updated -

Issue

  • When trying to print in the APIcast log the body/payload of a SOAP XML request that uses WS-Security (BinarySecurityToken), the result is an empty string.

  • APIcast logging policy is not printing XML ws-security request when using this pattern:

"Payload: {{ request_body }}"

Environment

  • Red Hat 3scale API Management On-premises 2.14
  • SOAP requests with ws-security
  • APIcast logging policy

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content