ActiveBPEL® Designer User’s Guide

Simulation Preferences

When you simulate execution of a process in ActiveBPEL, the simulation engine behaves identically to the server engine, where your deployed processes run. You can set preferences to modify the server engine behavior, and you can set the same preferences for the simulation engine.

Note: To learn more about setting server engine behavior, refer to the ActiveBPEL Server documentation.

Select Window>Preferences>ActiveBPEL>Simulation to view simulation preferences, described in the following table.

Simulation Preference

Description

Validate input/output messages against schema

Validates the sample data loaded into process variables against the WSDL schema. If you add a sample data file to a complex message, and the data file is not valid, ActiveBPEL warns you and allows you to add it with errors.

Enable this option to validate data before simulation starts. Disable this option for faster simulation. This option is enabled by default.

Disable bpws:selectionFailure fault

BPEL Version 1.1 only

Enabling this option allows a null value to be returned from a function or assignment that contains an XPath (or other language) query string. You can enable this to override behavior, for cases that handle data samples with optional elements.

By default, this option is not enabled, and if the query string returns an empty selection from an assign copy FROM, the process throws a bpws:selectionFailure fault, which is the standard response described in the BPEL4WS specification.

To set a preference to include this option as a process extension for all WS-BPEL 2.0 processes, see ActiveBPEL Preferences.

See Disable bpel:selectionFailure Fault Example and Disable bpel:selectionFailure Fault and Auto Create Target Path for Copy/To Example for more information.

Auto create target path for Copy/To

BPEL Version 1.1 only

Determines if ActiveBPEL is allowed to create a location path for a non-existent node in a complex variable in a process instance document. When an assignment refers to a non-existent node (or to more than one node), the standard BPEL fault, bpws:selectionFailure, must be thrown, according to the BPEL specification.

Enabling this option allows selections to be created on-the-fly. This means an assign copy TO operation can refer to a non-existent node and assign a value to it. This option is disabled by default.

To set a preference to include this option as a process extension for WS-BPEL 2.0 processes, see ActiveBPEL Preferences.

See Auto Create Target Path for Copy/To Example and Disable bpel:selectionFailure Fault and Auto Create Target Path for Copy/To Example for more information.