webMethods CloudStreams 10.3 | webMethods CloudStreams Documentation 10.3 | Policies | The Policy Actions | The Policy Action Reference | Validate Schema
 
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 for connector virtual services.
CloudStreams can enforce this policy action for messages sent between services. When this policy is set for a 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.
Input Parameters
Validate SOAP Message(s)
Validates the request and/or response messages.
Note: Be aware that 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.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.