Use-cases

Version 1 by Julien Lesbegueries
on Apr 21, 2011 16:28.

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

Changes (3)

View Page History
The process returns to the client a message to indicate either the booking has successfully occurred and his reservation Ids, either the booking of one of the partners failed.

These partners are an airline booking service implemented by a Web Service, an hotel booking service implemented by a batch file deposit and the car booking service, that is based on a WSDL 2.0 description. This last partner shows that EasyBPEL, thanks to EasyWSDL, is able to manage not only partners WSDL 1.1 descriptions, but also WSDL 2.0 descriptions, in a same process. The car booking service is implemented by a Web Service.

It can be noticed that there is no functional fault handling in this use-case. Although try/catch features have been already implemented, it is not used since compensation feature is not yet available. A further significant work will consist in adding compensation, that should be tested in this use-case.
h3. Description

You can find the needed files [here|http://easybpel.petalslink.com/doc/usecase1travelagency.zip] [here|^travelAgency.tgz] (partners folder), that is to say the BPEL file, its WSDL and partners WSDLs. You should see the following BPEL process.  !screenshotbpel.png|align=center!

In order to test this use-case, you can use this request for the first Receive:
</bpws:assign>
{code}

h4. Working with Maven2

The artifacts are available as Maven2 modules, you can add easyBPEL to your project POM like this:<dependency>
<groupId>com.ebmwebsourcing.easybpel<groupId>
<artifactId>easybpel.model.bpel<artifactId>
<version>1.0</version>
</dependency>