Chapter 17 Working with WS-BPEL 2.0


Generating WS-BPEL files

When you generate for WS-BPEL, two types of files are generated:

The generation of the WSDL file depends on the options you have selected in the Options page of the generation dialog box.

For more information on the generation options see section Selecting WS-BPEL generation options.

Steps To generate WS-BPEL files:

  1. Select Language→Generate WS-BPEL Code to display the WS-BPEL generation dialog box.
  2. Type a destination directory for the generated file in the Directory box.

    or

    Click the Select a Path button to the right of the Directory box and browse to select a directory path.
  3. <optional> Select the Check Model check box if you want to verify the validity of your model before generation.
  4. Click the Selection tab and select the objects to include in the generation from the sub-tabs.

    Note   Select Tools
    All processes of the model, including those grouped into packages, are selected and displayed by default. You use the Select tools to the right of the Folder Selection list to modify the selection. The Include Sub-Packages tool allows you to include all processes located within packages.

  5. Click the Options tab and select a value for each required option.
  6. Click the Tasks tab and select the required task(s).
  7. Click OK to generate.

    A Progress box is displayed. The Result list displays the files that you can edit. The result is also displayed in the Generation page of the Output window, located in the bottom part of the main window.

    All WS-BPEL files are generated in the destination directory.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.