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 – declaring the cancel operation on the BPEL process interface

To add the cancel operation to the BPEL process WSDL interface, we will proceed as follows:

  1. We will open the BookWarehousingBPEL.wsdl interface.
  2. We will scroll down to the declaration of the BookWarehousingBPEL port type. We can see that the port type specifies a single process operation:
    Time for action – declaring the cancel operation on the BPEL process interface
  3. We will add the cancel operation, which the client will use to cancel the running BPEL instance. In our example, we will use the same input message as in the process operation:
    Time for action – declaring the cancel operation on the BPEL process interface
  4. Next, we will add the cancel operation as the trigger for the OnEvent event handler. We will open the BookWarehousingBPEL.bpel process and double click on the OnEvent activity.
  5. A window will pop up, where we will specify the partner link, port type, and operation name. We will specify the client partner link, the BookWarehousingBPEL port type, and the cancel operation. For the variable, we will type the cancelInputMessage name and select Message Type...
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