How to Export a BPMN 2.0 model to BPEL

Version 1 by Graham Crosmarie
on Apr 08, 2011 11:07.

compared with
Current by Graham Crosmarie
on Apr 08, 2011 11:42.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (7)

View Page History
h21. Introduction

In order to facilitate its integration within a Business Process Manamagement system, GeasyBPMNEditor allows the users to export BPMN 2.0 models, they have designed, to a BPEL files which can be executed on an BPEL engine after proper validation.
The main idea of this export is to use WSDL files to annotate the BPMN model in order to retireve the necessary information to produce a BPEL process form a BPMN diagram.

h1. Example

h2. Example
h2. Create the BPMN 2.0 model

h3. Create the BPMN 2.0 model

Create a new BPMN 2.0 Executable Workflow using the "File" button.

!How to Export a BPMN 2.0 model to BPEL^Capture1.png!

Drag and drop the BPMN elements to create your model. The properties of the elements can be assigned at the bottom of the page.

!How to Export a BPMN 2.0 model to BPEL^Capture3.png!

h2. Export to BPEL

Ask for an export using the "File" button once again. Then choose BPEL 2.0 as the export format and click the finish button.


!How to Export a BPMN 2.0 model to BPEL^Capture4.png!

A new window will pop up. The aim of this window is to allow the user to upload its WSDL files and then to extract the information from these files and map it to the relevant elements of the BPMN diagram.

First upload a WSDL file :

!How to Export a BPMN 2.0 model to BPEL^Capture5.png!

The file will be temporarily hosted on the server and is now ready to be used for BPMN annotation.

!How to Export a BPMN 2.0 model to BPEL^Capture6.png!

Clicking the "Next" button after having uploaded the files directs the user to the mapping screen.
* This screen displays the previously uploaded WSDL files as trees on the left. (Operation are represented as blue engine wheels and Messages as letters)
* On the right, one can see the tree representation of the BPMN model. The only flow elements displayed are Message Events and specific Tasks because the other flow elements have no need to be mapped to some information to produce the compliant BPEL object.


!How to Export a BPMN 2.0 model to BPEL^Capture7.png!

To perform the mapping, simply drag and drop the WSDL operations on the BPMN specific tasks that will be using them.

!How to Export a BPMN 2.0 model to BPEL^Capture8.png!

Click the "Next" button once again will close the window and allow to download the generated zip file.

!How to Export a BPMN 2.0 model to BPEL^Capture9.png!

The generated zip file contains :
* the BPMN 2.0 XML file representing the drawn model
* the uploaded WSDL files used during the mapping
* a folder conatining the BPEL 2.0 file and thh associated WSDL files which have been produced from the uploaded ones.

!How to Export a BPMN 2.0 model to BPEL^Capture10.png!

Here is the BPEL file that has been produced for this example :

!How to Export a BPMN 2.0 model to BPEL^Capture11.png!