Chapter 17 Working with WS-BPEL 2.0


Reverse Engineering WS-BPEL

You can reverse engineer files that contain WS-BPEL object s into a BPM.

You reverse engineer the following types of WS-BPEL files into a BPM:

The process description contained in the .BPEL files are reversed into service providers.

Note   Import your .WSDL files
You should begin by importing your .WSDL files before proceeding to the reverse engineering of .BPEL files, as PowerDesigner does not support the <import> clause that allows you to reverse the WSDL definitions contained in .BPEL files.

BPEL versions

When you reverse engineering files that contain WS-BPEL objects, PowerDesigner automatically detects the version of the BPEL language (1.1 or 2.0) based on the namespace used.

Options tab

When selected the Create XML Model option allows you to create an XML model for each schema definition found in the WSDL file.

Steps To reverse engineer WS-BPEL files:

  1. Select Language→Reverse Engineer WS-BPEL File to display the Reverse WS-BPEL dialog box.
  2. Select to reverse engineer files or directories from the Reverse Engineering list.
  3. Click the Add button in the Selection page to open a standard Open dialog box.
  4. Select the files or directory you want to reverse and click Open.

    Note   Multi-selection
    You select several files simultaneously using the ctrl or shift keys. You cannot select several directories.



    The Reverse WS-BPEL dialog box displays the selected files or directory.
  5. Click OK.

    A progress box is displayed. If the model in which you are reverse engineering already contains data, the Merge Models dialog box is displayed.

    For more information on merging models, see section Merging Models, in chapter Comparing and Merging Models in the General Features Guide.
  6. Click OK.

    The objects are added to your model. They are visible in the diagram and in the Browser. They are also listed in the Reverse page of the Output window, located at the bottom part of the main window.

Note   Reverse engineering in a new BPM
You can also reverse engineer WS-BPEL files from the File menu and create a new BPM. For more information, see chapter Reverse Engineering in a BPM.

 


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