Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Business Process Execution Language for Web Services 2nd Edition

You're reading from   Business Process Execution Language for Web Services 2nd Edition

Arrow left icon
Product type Paperback
Published in Jan 2006
Publisher Packt
ISBN-13 9781904811817
Length 372 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Business Process Execution Language for Web Services
Credits
About the Authors
About the Reviewers
Preface
1. Introduction to BPEL and SOA FREE CHAPTER 2. Web Services Technology Stack 3. Service Composition with BPEL 4. Advanced BPEL 5. Oracle BPEL Process Manager and BPEL Designer: Overview 6. Oracle BPEL Process Manager: Advanced Features 7. MS BizTalk Server BPEL Syntax Reference Index

Asynchronous BPEL Example


Our first BPEL business process example was synchronous, because this was the easiest case. However, in the real world, we will mostly use asynchronous processes. Most business processes are long running. It makes no sense for client to wait (and be blocked) for the entire duration of the process. A much better alternative is to model the BPEL process as asynchronous. This means that the client invokes the process, and when the process completes, it performs a callback to the client. This has a few consequences:

  • For the BPEL process to be able to perform a callback to the client, the client must be a web service and implement a certain port type (usually defined by the BPEL process WSDL).

  • The partner link type for the client will have to specify two roles.

  • The BPEL process will not <reply> to the client. Rather it will <invoke> the callback.

Let us now focus on our business process and modify it for asynchronous invocation, presented in the next sequence...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image