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 – creating XML element variables


Let's now create the BookDataVariable variable:

  1. Another way to create a new variable is to open the Structure view on the lower left-hand side window and right-click on Variables. A menu will appear where we should select Create Variable, as shown in the following screenshot:

  2. The Create Variable dialog window will open. We will type BookDataVariable as the Name. We select Element for the XML element variables. Then, we use the magnifier glass icon to select BookData from Project Schema Files/BookstoreBPEL.xsd:

What just happened?

We have created the XML element type variable BookDataVariable, which is of the type BookData. The BPEL source code looks like the following:

Declaring a WSDL message type variable

Let's now declare a WSDL message type variable. We will create a BookStoreWithLowestQuantity variable, where we will store the whole WSDL message response payload. We will need to store the response message from the BookStoreA / BookStoreB...

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