Book Image

WS-BPEL 2.0 Beginner's Guide

By : Matjaz B Juric
Book Image

WS-BPEL 2.0 Beginner's Guide

By: Matjaz B Juric

Overview of this book

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.
Table of Contents (14 chapters)
13
Index

Time for action – implementing an asynchronous invocation

Let's take a look at how to implement an asynchronous service invocation where the asynchronous web service is represented by the following WSDL: http://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/bps/modules/samples/product/src/main/resources/bpel/2.0/SampleAsynchronousProcess/Async-Server/ServerArtifacts.wsdl.

Download this external service WSDL representation.

Creating an empty WS BPEL 2.0 process

Here, we will create an empty WS BPEL 2.0 process with the Synchronous BPEL Process template, as shown in the following screenshot:

Creating an empty WS BPEL 2.0 process

Click on OK once you provide the other necessary details such as name, namespace, and directory. Then the initial BPEL process appears in the development environment. In the next step, we will create two partner links required for an asynchronous communication.

Defining the partner link with myRole and partnerRole

Here we are going to define the partner link which represents the asynchronous...