...
The Validate Mediator validates the result of the evaluation of the source XPath expression, against the schema specified. If the source attribute is not specified, the validation is performed against the first child of the SOAP body of the current message. If the validation fails, the on-fail sequence of mediators is executed. Properties could be used to turn some of the features of the validator on/off.
...
UI Configuration
Parameter Name | Description |
---|---|
Schema keys defined for Validate Mediator | This parameter is used to specify the key for the schema location. It can be specified using one of the following methods.
|
Key - Schema location. It can be chosen either from the Configuration Registry, Governance Registry (For Static Key) or from the Namespaces (For Dynamic Key). For more information on the registry, see Working with the Registry.
Info title Tip To add a new Schema Key, use the "Add New Schema Key" link.
Source -XPath expression to extract the XML that needs to be validated. If not specified, the validation is performed against the first child of the SOAP body.
Info title Tip You can click this link to add namespaces if you are providing an expression. You will be provided another panel named "Namespace Editor," where you can provide any number of namespace prefixes and URL that you have used in the XPath expression.
- Features
- Feature Name
Action- Delete.
Note title Note This is the only mandatory feature supported by the validator. For more information refer to: http://java.sun.com/javase/6/docs/api/constant-values.html#javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING
...