Chapter 16 Working with BPEL4WS
Generating BPEL4WS files
When you generate for BPEL4WS, two types of files are generated:
- A file with a .BPEL extension that corresponds to the process file. It contains process descriptions (activities). It is generated for each top-level process you select in the Selection page of the Generation dialog box
- A file with a .WSDL extension that corresponds to the process language definition file . It contains properties, property aliases and service link types. It is generated once for the entire model
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 BPEL4WS generation options.
To generate BPEL4WS files:
- Select Language→Generate BPEL4WS Code to display the BPEL4WS generation dialog box.
- 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.
- <optional> Select the Check Model check box if you want to verify the validity of your model before generation.
- Click the Selection tab and select the objects to include in the generation from the sub-tabs.
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.
- Click the Options tab and select a value for each required option.
- Click the Tasks tab and select the required task(s).
- 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 BPEL4WS files are generated in the destination directory.
Copyright (C) 2007. Sybase Inc. All rights reserved.
|
|