BPEL Designer: Validating BPEL Processes

See Also

The BPEL Designer has a built-in BPEL code validation functionality, the BPEL Validator, that helps you create processes compliant with the WS-BPEL 2.0 standard. The code is checked for errors and the user is notified if validation fails.

Validation Criteria

The Validator checks BPEL processes in accordance with the following criteria:

  1. Conformance with the BPEL 2.0 schema
  2. Compliance with static analysis rules defined in the WS-BPEL 2.0 specification
  3. Broken references
  4. Constructs that are valid per the BPEL 2.0 specification but are not yet supported by the Sun BPEL Service Engine

Validation Types

The BPEL Designer provides the following types of validation:

To invoke explicit validation, do one of the following:

Validation Messages

The results of checking code validity are shown in the following areas:

The Design, Source and Logical views display the results of both real-time and explicit validation types.

In the Design view:

In the Source view:

In the BPEL Logical view (Navigator window):

The Output window shows the results of validation when validation has been invoked explicitly. If validation fails, the Output window contains error and warning messages.

Quick Fix

Quick Fix enables to partly automate validation errors fixing.

To use Quick Fix:

  1. Open the Source view of the process.
  2. Click Validate XML button on the toolbar or right-click the source and choose Validate XML (Alt-Shift-F9). In the Output window you will get the result of validation. If output contains errors or warnings, you can try to resolve them using Quick Fix.
  3. Click the Quick Fix button on the toolbar. Quick Fix result is shown in the Quick Fix tab of the Output window. All the changes performed by Quick Fix (if any) are reflected in the window.
At the moment Quick Fix supports automatic correction of misspelled variable names.
See Also
Operations with Elements in the Design View
About BPEL Elements

Legal Notices