简体   繁体   中英

Azure Api Management Xml schema validation

Is there a way to validate schema XML request and response with XSD file directly inside Azure API Management? I'm using Azure functions to create response. Or only way to do so is to use Logic apps, or validate schema inside Azure function?

No you cant perform the validation inside the api management because the policy engine does not support System.Xml.Schemas namespace. Easiest and cheapest way for this to be done is inside an Azure function. PS: All the namespace supported by the policy engine are available at following link https://docs.microsoft.com/en-us/azure/api-management/api-management-policy-expressions#CLRTypes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM