Designer 10.11 | Cloudstreams Development Help | CloudStreams Governance Project | Policies | Action: Validate Schema
 
Action: Validate Schema
This action validates all XML request and/or response messages against an XML schema referenced in the WSDL. This action cannot be used with connector virtual services.
CloudStreams can enforce this policy action for messages sent between services. When this policy is set for the virtual service, CloudStreams validates XML request messages, response messages, or both, against the XML schema referenced in the WSDL. Ensure that you provide a schema.
To set the Validate Schema action parameter
1. In the CloudStreams Governance view, click the policy name.
2. In the policy editor on the right side of the page, double-click Validate Schema in the Applied Actions list, and set the following action parameter.
Validate SOAP Message(s)
Validates the request and/or response messages.
Note:
CloudStreams does not remove wsu:Id attributes that may have been added to a request by a consumer as a result of security operations against request elements (signatures and encryptions). In this case, to avoid schema validation failures you would have to add a Transform sub-step to the virtual service's In Sequence step so that the requests are passed to an XSLT transformation file that removes the wsu:Ids.