Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Use variable for the namespace value in ExtractVariable policy

I am trying to use a variable instead of hardcoding the namespace value inside the ExtractVariable policy for XML/SOAP payload. But it seems to not work. Am i missing something or is this functionality not available currently?

This is working fine. But i want to pass a variable instead of hardcoding "http://schemas.xmlsoap.org/soap/envelope/" just in case it changes in the future. I am just providing this namespace as example. I will have multiple namespaces.

<Namespaces>
  <Namespace prefix="soap">http://schemas.xmlsoap.org/soap/envelope/</Namespace>
</Namespaces>

Below is what i want to do. I tried using ref also but no luck

<Namespaces>
  <Namespace prefix="soap">{namespace1}</Namespace>
</Namespaces>

1 1 222
1 REPLY 1