Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Image RemovedImage Added

Parameter NameDescription
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.

  • Enter a static key if the key is a static value.
  • Enter an expression to calculate the value if the key is a dynamic value.
  
  
  

 

  • 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
    titleTip

    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
    titleTip

    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 

...