An Azure service that provides a hybrid, multi-cloud management platform for APIs.
XML Validation in APIM policy not working correctly
Johnson, Dana
0
Reputation points
Gents, I'm trying to validate an XML document against an XSD schema using the following:
<validate-content
unspecified-content-type-action="prevent"
max-size="1048576"
size-exceeded-action="prevent"
errors-variable-name="validationErrors">
<content
type="application/xml"
validate-as="xml"
schema-id="MySchema"
action="prevent" />
</validate-content>
The Validate Content does not work no matter what I add or change in the properties
Any suggestions would be greatly appreciated
Azure API Management
Azure API Management
Sign in to answer