Book Image

SOA Cookbook

By : Michael Havey
Book Image

SOA Cookbook

By: Michael Havey

Overview of this book

<p>SOA Cookbook covers process-oriented SOA. BPEL is the best-known language in this area, and this book presents numerous BPEL examples. It also studies proprietary vendor process languages such as TIBCO's BusinessWorks and BEA's Weblogic Integration. If you are building SOA processes in the field, chances are you are using one of the languages discussed in SOA Cookbook. The book assumes that the reader is comfortable with XML and web services.<br /><br />Author Michael Havey works with SOA in the field for TIBCO (and previously for IBM, BEA, and Chordiant). SOA Cookbook is Michael's second book. Essential Business Process Modeling, his first book, was published in 2005.</p>
Table of Contents (14 chapters)
SOA Cookbook
Credits
About the Author
About the Reviewers
Preface

Disputes in BPEL: Flat Event Loop


The second way to flatten the disputes process is to structure it as an event loop. The following subsections tell us more about how to do this.

The BPEL Event Loop

The BPEL implementation of the event form consists of a while loop containing a pick with a handler for each possible event type. The control flow logic of the original requirements definition is subsumed into the handling of events. The while loop continues until an event is encountered that brings the dispute to a state of completion.

The following figure depicts the disputes process in flat event form:

The events are shaded, and the numbering traces through the crediting scenario. The sequence of events in the scenario is: Receive Submit (Cust), OnMessage RequestDocs (Ops), OnMessage Update (Cust), OnMessage Captured (Ops), OnMessage ChargedBack (Ops), and OnMessage Credited (Net).

The most significant features of this implementation are as follows...