Book Image

WS-BPEL 2.0 Beginner's Guide

Book Image

WS-BPEL 2.0 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
WS-BPEL 2.0 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
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:

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 communication...