Regular Expression policy for XML payload in Apigee

Hi All, 

I am trying to use the RegEx pattern for XML Payload. currently, I'm getting errors for whichever XML payload is sent in the request. 

Can you please suggest to me Regular Expression policy configurations that will allow all the XML payload sent in the request?

1 1 242
1 REPLY 1

I'm not sure what you mean by allowing XML requests with "security validations in it" 

With that said, there's a few different type of approaches you can use for XML validation

- XML Threat Protection, to validate the payload is within particular limits

- Regex Protection, allows you to validate the payload against a regex pattern/s - this could be used to prevent particular injection attacks for example.

- Message Validation, to validate the payload structure against a defined WSDL / XSD schema