Software AG Products 10.7 | Using CentraSite | Runtime Governance | Run-Time Policy Management | Built-In Run-Time Actions Reference (CentraSite Business UI) | Built-in Actions for Run-Time Policies (CentraSite Business UI) | Validate Schema
 
Validate Schema
This action validates all XML request and response messages against an XML schema referenced in the WSDL.
Mediator can enforce this action for messages sent between APIs. When this action is configured for a proxy API, Mediator validates XML request messages, response messages, or both, against the XML schema referenced in the WSDL.
Input Parameters
Validate SOAP Message(s)
(Object). Validates request and response messages. You may select both Request and Response.
Value
Description
Request
Validate all requests.
Response
Validate all responses.
Important:
Be aware that Mediator does not remove wsu:Id attributes that may have been added to a request by a client as a result of security operations against request elements (that is, signatures and encryptions). In this case, to avoid schema validation failures you would have to add a Request Transformation action or a Response Transformation action to the API so that the requests and responses are passed to an XSL transformation file that removes the wsu:Id attribute.