Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WS-BPEL 2.0 Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
WS-BPEL 2.0 Beginner's Guide

WS-BPEL 2.0 Beginner's Guide

By : Matjaz B Juric
4.8 (5)
close
close
WS-BPEL 2.0 Beginner's Guide

WS-BPEL 2.0 Beginner's Guide

4.8 (5)
By: Matjaz B Juric

Overview of this book

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.
Table of Contents (14 chapters)
close
close
13
Index

Time for action – selecting the bookstore with the lowest quantity

In the previous chapter, we introduced three bookstores into our composite BPEL application, BookstoreA, BookstoreB, and AnotherBookstore. Let's now modify the conditions in the <if> activity, where we select the bookstore with the lowest book quantity. We have to compare three book quantities of stores in the BookstoreAResponse, BookstoreBResponse, and AnotherBookstoreResponse variables. To access the BookstoreAResponse quantity, we should use the following XPath expression:

$BookstoreAResponse.payload/ns1:StockQuantity

Similarly, we would access the BookstoreB and AnotherBookstore stock quantities.

To select the lowest quantity, we should do the following comparisons:

  • Compare the BookstoreA stock quantity to BookstoreB and AnotherBookstore. If the BookstoreA stock quantity is lower or equal in both cases, select BookstoreA.
  • Compare the BookstoreB stock quantity to BookstoreA and AnotherBookstore. If the BookstoreB...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WS-BPEL 2.0 Beginner's Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon