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
WS-BPEL 2.0 Beginner's Guide

You're reading from   WS-BPEL 2.0 Beginner's Guide Design and develop WS-BPEL executable business processes using Oracle SOA Suite 12c

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781849688963
Length 388 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Hello BPEL FREE CHAPTER 2. Service Invocation 3. Variables, Data Manipulation, and Expressions 4. Conditions and Loops 5. Interaction Patterns in BPEL 6. Fault Handling and Signaling 7. Working with Scopes 8. Dynamic Parallel Invocations 9. Human Tasks 10. Events and Event Handlers 11. Compensations A. Pop Quiz Answers Index

Time for action – waiting for callback

To wait for the callback using the <pick> activity, we will do the following:

  1. Add the <pick> activity by dragging-and-dropping it to the BookWarehousingBPEL process. Place it immediately after the <invoke> activity within the WarehousingConfirmationInvocation scope. We should see the <pick> activity with a single OnMessage branch:
    Time for action – waiting for callback
  2. Double-clicking on the OnMessage icon opens the dialog box, where we need to specify the Partner Link, Port Type, and Operation:
    Time for action – waiting for callback
  3. Similarly, we will create the variable on the fly, using the green plus sign icon. We will create a local OnMessage_onResult variable:
    Time for action – waiting for callback
  4. To handle the response, we will place an <if> activity within the OnMessage scope. Within the <if> activity, we will check whether the books have been successfully warehoused. The corresponding XPath condition should look as follows:
    Time for action – waiting for callback
  5. For each branch, we will use an <assign>, where we will assign a successful or unsuccessful...
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