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
Business Process Execution Language for Web Services 2nd Edition

You're reading from   Business Process Execution Language for Web Services 2nd Edition

Arrow left icon
Product type Paperback
Published in Jan 2006
Publisher Packt
ISBN-13 9781904811817
Length 372 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Business Process Execution Language for Web Services
Credits
About the Authors
About the Reviewers
Preface
1. Introduction to BPEL and SOA FREE CHAPTER 2. Web Services Technology Stack 3. Service Composition with BPEL 4. Advanced BPEL 5. Oracle BPEL Process Manager and BPEL Designer: Overview 6. Oracle BPEL Process Manager: Advanced Features 7. MS BizTalk Server BPEL Syntax Reference Index

BPEL Functions


This section talks about the important and commonly used functions related to BPEL. These are:

  • getLinkStatus()

  • getVariableData()

  • getVariableProperty()

getLinkStatus()

This function is used to return a Boolean value to indicate the status of a link. Links with positive status are evaluated to true, links with negative status to false. This function can only be used in join conditions. The linkName argument must refer to the name of an incoming link for the activity associated with the join condition.

Syntax

bpws:getLinkStatus (‘linkName’)

Example

<switch name=”BestOfferSelect”

        joinCondition=”bpws:getLinkStatus(
                       ‘AmericanAirlinesCallbackToBestOfferSelect’) 
                       and
                       bpws:getLinkStatus(
                       ‘DeltaAirlinesCallbackToBestOfferSelect’)” >
                       ...    
</switch>

getVariableData()

This function is used to extract arbitrary values from variables.

Syntax

bpws:getVariableData (‘variableName’, ‘partName’?, ‘locationPath’?)

Example

bpws:getVariableData (‘InsuranceRequest’, 
                      ‘insuredPersonData’)           
bpws:getVariableData (‘InsuranceRequest’, 
                      ‘insuredPersonData’,               
                      ‘/insuredPersonData/ins:Age’)           

getVariableProperty()

This function is used to extract global property values from variables.

Syntax

bpws:getVariableProperty (‘variableName’, ‘propertyName’)

Example

bpws:getVariableProperty(‘TicketApproval’, ‘Class’)
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