SALES: 1-800-867-1380

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

  1. Double-click the XML One-Way Bridge component to open the Bridge Configuration design surface.

  2. 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.

  3. 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.

  4. 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.

  5. Click Save to save changes to the Bridge Configuration.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft