LTSA-BPEL4WS:

Tutorial 2

Modelling Interacting Web Service Compositions

The bpel4ws plug-in is an extension to LTSA that allows the creation of models of BPEL4WS processes, driven by a formal behaviour model. 

The home of the BPEL4WS plug-in is here.

This tutorial contains:

Prerequisites

The following are required to complete this tutorial:

Starting the application

In the root directory of the installation is a file called run.bat. Run this to start the application. If any exceptions are reported, check that you have correct Java Runtime or Development Kit installed (JRE/JDK 1.4 or higher), and that java is in your system path (also check JAVA_HOME variable points to the java installation directory).

 

Sample Modelling Steps of Interacting BPEL4WS Processes

This example provides a simple step-by-step process from creating/loading partnered BPEL4WS processes, mapping the two processes together and then generating verification traces by using the trace features of the LTSA tool.

Important Note: Please download the tutorial source files (described in the prerequisites section of this tutorial).

Step 1.  Load the ECHOSTRING1 BPEL4WS process and WSDL service description

Figure 1.  Loading BPEL4WS processes and WSDL service descriptions in LTSA-BPEL4WS.

 

Step 2.  Translate and view process Labelled Transition System model

 

Figure 2.  Labelled Transition System model of the ECHOSTRING1 process.

 

Step 3.  Load the ECHOSTRING2 BPEL4WS process and WSDL service description

 

Figure 2.  Labelled Transition System model of the ECHOSTRING2 process.

 

Step 4.  Manually verify that partner operations are related

Step 5.  Compose "unsynchronised" model of Process Architecture

Figure 3.  Labelled Transition System model of an unlinked port (CompositionArchitecture) model process.

 

Step 6.  Compose "synchronised" Model of Interacting Processes

 

Figure 4.  Labelled Transition System model of a linked messaging port for the "echo" operation.

Step 7.  Now try modelling your own process interactions!.... and have fun!