BPEL Designer and Service Engine User's Guide

Using the Validate Element

The Validate element is used to validate the values of variables against their associated XML and WSDL data definition. The element includes a Variables property that lists the variables for the process, and allows you to specify which variables to validate. When one or more variables prove invalid against a corresponding XML definition, a standard fault, bpel:invalidVariables, is thrown.

Usage

Drag and drop the Validate element to the diagram between Process Start and Process End. From the Validate Properties, click the Variables edit button. Select the variables you want validated from the Variables dialog box.

Image shows the Validate element Variables property
Variables dialog box

Validate Element Properties

The Properties window of the Validate element, accessed by right-clicking the element and choosing Properties, contains the following properties: