Show Table of Contents
11.3. Add Validation to Your Application
Procedure 11.1. Add Validation to Your Application
- Specify message validation in the descriptor of your SwitchYard application by editing the
switchyard.xmlfile using the JBoss Developer Studio SwitchYard Editor.The qualified name of the type being validated is defined along with the validator implementation. This allows validation to be a declarative aspect of a SwitchYard application, as the runtime will automatically register and execute validators in the course of a message exchange.<validates> <validate.xml schemaType="XML_SCHEMA" name="{urn:example}MyBook"> <schemaFiles><entry file="/xsd/orders.xsd"/></schemaFiles> </validate.xml> </validates>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.