XML One-Way Bridge : Configuring the Validate Stage for the Request Message
Updated: November 21, 2013
As part of the Validate stage, you can specify whether the stage does any schema validation on the incoming request message and whether the validation warnings can be propagated back to the client as exceptions.
To configure the Validate stage
Double-click the XML One-Way Bridge component to open the Bridge Configuration design surface.
Select the Validate stage, and from the Properties pane, set the IsEnabled property to True or False. If the property is set to True, the stage will validate the incoming request message against the schemas you added in the step, XML One-Way Bridge: Specifying the Schemas for the Request Message. If the property is set to False, there will be no schema validation and the message will be simply passed through to the next stage.
If you want to include any custom code that must be executed before the message enters the Validate stage, set the On Enter Inspector property. Similarly, if you want to include any custom code that must be executed after the message exits the Validate stage, set the On Exit Inspector property. For more information, on how to set these properties, see How to Include Custom Code in Bridges.
Within the Validate stage, select the Xml Validate activity, and then from the Properties pane, set the Report Warnings As Errors property to True or False. Set this to True if you want the bridge to report any warnings as errors encountered during XML validation against a schema and return them back to the client sending the request message. In such a case, a validation warning is thrown as an exception and the validation fails. To understand more about what warnings and errors are with respect to XML schema validation, see Validation and the Schema Object Model.
Click Save to save changes to the Bridge Configuration.
Other ResourcesConfigure an XML One-Way Bridge