此内容没有您所选择的语言版本。
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>