Generating for BPEL Languages

You can generate BPEL code from BPM objects that can be interpreted by any orchestration engine. A separate .BPEL file per each top-level process is generated, and contains the process descriptions. A .WSDL file (process language definition file) for the entire model is also generated.

  1. Select Language > Generate BPEL4WS 1.1 [or WS-BPEL 2.0 ] code to open the Generation dialog.
  2. Specify a directory in which to generate the code.
  3. [optional] Select the Check Model check box, if you want to verify the validity of your model before generation.
  4. On the Selection tab, select the objects that you want to generate. Use the sub-tabs to navigate between separate lists of object types. The selections you make here will affect the files that are available to select on the Generated Files tab.
  5. [optional] On the Options tab, set the generation option as appropriate:

    Option

    Description

    Generate WSDL files

    You can choose between one of the following values:

    • Local - Enforces the generation of the .WSDL file into a separate local file which is referenced into the .BPEL definition file via the [Import] clause.

    • Import - Generates an [Import] clause into the .BPEL definition file.

    • Embedded - Generates a .WSDL file into the .BPEL definition file, and a .WSDL file is generated for each service provider.

  6. Click OK to generate the files in the specified directory.

    When the generation is complete, the Generated Files dialog opens listing the files, each of which you can open, and review by selecting it, and clicking Edit.