Business Process Execution Language for Web Services 2nd Edition

Business Process Execution Language for Web Services 2nd Edition
eBook: $41.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 50%!
Print + free eBook + free PacktLib access to the book: $111.98    Print cover: $69.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Architecture, syntax, development and composition of Business Processes and Services using BPEL
  • Advanced BPEL features such as compensation, concurrency, links, scopes, events, dynamic partner links, and correlations
  • Oracle BPEL Process Manager and BPEL Designer Microsoft BizTalk Server as a BPEL server

Chapter 4 Oracle BPEL Process Manager

Book Details

Language : English
Paperback : 372 pages [ 235mm x 191mm ]
Release Date : January 2006
ISBN : 1904811817
ISBN 13 : 9781904811817
Author(s) : Benny Mathew, Matjaz B. Juric, Poornachandra Sarang
Topics and Technologies : All Books, Enterprise Products and Platforms, Oracle Fusion Middleware, BPEL, Enterprise, Oracle, Web Services

Table of Contents

Chapter 1: Introduction to BPEL and SOA
Chapter 2: Web Services Technology Stack
Chapter 3: Service Composition with BPEL
Chapter 4: Advanced BPEL
Chapter 5: Oracle BPEL Process Manager and BPEL Designer: Overview
Chapter 6: Oracle BPEL Process Manager: Advanced Features
Chapter 7: MS BizTalk Server
Appendix A: BPEL Syntax Reference
  • Chapter 1: Introduction to BPEL and SOA
    • Why Business Processes Matter
      • Automation of Business Processes
        • Exposing and Accessing the Functionality of Applications as Services
        • Enterprise Bus Infrastructure for Communication and Management of Services
        • Integration between Services and Applications
        • Composition of Exposed Services into Business Processes
    • Web Services
      • How Web Services Differ from their Predecessors
      • Web Services Technology Stack
    • Enterprise Service Bus
      • ESB Features
    • Service Oriented Architecture
      • SOA Concepts
        • Services
        • Interfaces
        • Messages
        • Synchronicity
        • Loose Coupling
        • Registries
        • Quality of Service
        • Composition of Services into Business Processes
    • Service Composition
    • BPEL for Service Composition
      • BPEL Features
      • Orchestration and Choreography
      • Executable and Abstract Processes
    • Relation of BPEL to Other Languages
      • ebXML BPSS
      • BPML
      • WSCI
      • WS-CDL
    • BPEL Servers Overview
      • Oracle BPEL Process Manager
      • Microsoft BizTalk
      • IBM WebSphere Business Integration Server Foundation
      • IBM BPWS4J
      • ActiveBPEL Engine and ActiveWebflow
      • OpenStorm Service Orchestrator
    • The Future of BPEL
    • Conclusion
  • Chapter 2: Web Services Technology Stack
    • E-Business Collaborations
    • WS-Security
      • Example
      • Binary Security Token
      • Referencing an External Security Token
      • Faults
    • Typical Business Transaction Scenario
    • WS-Coordination
      • The Framework
      • Scenario
        • CoordinationContext
        • CreateCoordinationContext
        • CreateCoordinationContextResponse
        • Register
        • RegisterResponse
      • Faults
    • Web Services Transaction Specifications
      • Atomic Transaction
        • Sharing Context Information
        • Coordination Protocols
      • Business Activity
        • Sharing the Context Information
        • Coordination Protocols
      • The BTP Stack
      • The BTP Model
        • Atomic Transactions
        • Cohesive Transactions
    • Reliable Messaging
      • Messaging Model
        • Example
        • Requesting Acknowledgement
        • Delivery Assurances
        • Other Assertions
        • Faults
    • WS-Addressing
      • Endpoint Reference
      • Faults
    • WS-Inspection
      • Inspection Document Hierarchy
    • WS-Policy
      • Policy Outline
        • The wsp:All Operator
        • The wsp:ExactlyOne Operator
        • The wsp:OneOrMore Operator
        • The wsp:Policy Operator
      • Policy Assertions
        • Example
        • Policy Inclusion
    • WS-Eventing
      • Event Subscription
      • Response to Event Subscription
      • Subscription Renewal
      • Unsubscribing
      • Subscription End Message
    • Conclusion
  • Chapter 3: Service Composition with BPEL
    • Developing Business Processes with BPEL
    • Core Concepts
      • Invoking Web Services
      • Invoking Asynchronous Web Services
      • Synchronous/Asynchronous Business Processes
      • Understanding Links to Partners
      • Partner Link Types
      • Defining Partner Links
      • BPEL Process Tag
      • Variables
      • Providing the Interface to BPEL Processes: <invoke>, <receive>, and <reply>
      • Assignments
      • Conditions
    • BPEL Business Process Example
      • Involved Web Services
        • Employee Travel Status Web Service
        • Airline Web Service
      • WSDL for the BPEL Process
      • Partner Link Types
      • Business Process Definition
        • BPEL Process Outline
        • Partner Links
        • Variables
        • BPEL Process Main Body
    • Asynchronous BPEL Example
      • Modify the BPEL Process WSDL
      • Modify Partner Link Types
      • Modify the BPEL Process Definition
    • Conclusion
  • Chapter 4: Advanced BPEL
    • Advanced Activities
      • Activity Names
      • Loops
      • Delays
        • Deadline and Duration Expressions
      • Empty Activities
      • Process Termination
    • Fault Handling and Signaling
      • WSDL Faults
      • Signaling Faults
        • Signaling Faults to Clients in Synchronous Replies
        • Signaling Faults to Clients in Asynchronous Scenarios
      • Handling Faults
        • Selection of a Fault Handler
        • Synchronous Example
        • Asynchronous Example
        • Inline Fault Handling
    • Scopes
      • Example
        • First Scope
        • Second Scope
        • Third Scope
      • Serializable Scopes
    • Compensation
      • Compensation Handlers
        • Example
      • Invoking Compensation Handlers
    • Managing Events
      • Pick Activity
        • Message Events
        • Alarm Events
        • Example
      • Event Handlers
        • Example
    • Business Process Lifecycle
    • Correlation and Message Properties
      • Message Properties
        • Mapping Properties to Messages
        • Extracting Properties
        • Properties and Assignments
      • Correlation Sets
      • Using Correlation Sets
    • Concurrent Activities and Links
      • Sources and Targets
        • Example
      • Transition Conditions
      • Join Conditions and Link Status
      • Join Failures
        • Suppressing Join Failures
    • Dynamic Partner Links
    • Abstract Business Processes
    • Model Driven Approach: Generating BPEL from UML Activity Diagrams
    • Conclusion
  • Chapter 5: Oracle BPEL Process Manager and BPEL Designer: Overview
    • Overview and Architecture
      • BPEL Server
        • Core BPEL Engine
        • WSDL Bindings
        • Integration Services
      • BPEL Console
      • BPEL Designer
      • Database
    • Process Deployment Example
      • Process Descriptor
        • Configuration Properties
      • Setting the Environment
      • BPEL Compiler and Revision Numbers
      • Deployment and Domains
        • Ant Utility
    • Process Management with the BPEL Console
      • Visual Flow
      • Instance Auditing
      • Debugging
      • Overview of Other BPEL Console Functions
      • Deploying Processes
      • Management
      • Performance Tuning
      • Domains and Administration
        • Administration of Server-Related Parameters
        • Managing BPEL Domains
    • Graphical Development with BPEL Designer
      • JDeveloper BPEL Designer
        • Importing Existing BPEL Processes
        • Partner Links and Web Services
        • Variables
        • Process Activities
        • Copy Rule Editor
        • XPath Expression Builder
        • XSLT Mapper
        • BPEL Validation Browser
        • Building and Deploying
      • Eclipse BPEL Designer
        • Partner Links and Web Services
        • Variables
        • XML Type Browser
        • Process Map
        • Copy Rule Editor
        • Function Wizard
        • Building and Deploying
    • Summary
  • Chapter 6: Oracle BPEL Process Manager: Advanced Features
    • Extension Functions and Activities
      • Transformation and Query Support
      • Data and Array Manipulation
      • XML Manipulation
      • Date and Time Expressions
      • Process Identification
      • LDAP Access and User Management
    • Dynamic Parallel Flow
      • Dynamic Flow Example
      • Providing a List of Partner Links
      • Dynamic Parallel Invocation of Airline Services
      • Dynamic Partner Links
      • Offer Selection Loop
      • Deploying and Testing the Example
    • Web Services Invocation Framework
      • Advantages of WSIF
      • Java to XML Bindings
        • XML Façades
      • Invoking a Java Class through WSIF
        • Defining WSIF Bindings in WSDL
        • WSIF Bindings for Java Classes
        • Testing the Example
      • Exception Handling
        • User Exceptions in Java
        • Defining Faults in WSDL
        • Defining WSIF Binding for an Exception
        • Custom Exception Serializers
      • Invoking EJB through WSIF
        • WSDL for Session Bean
        • WSIF Binding for EJB
      • Generating WSIF Bindings from JDeveloper
    • Java Code Embedding
      • Invoking a Java Class from Embedded Code
    • Notification Service
      • Email Example
        • Notification Wizard
        • Review of Code
        • Testing the Example
      • Mail and JMS Services
    • Workflow Service
      • Workflow Patterns
      • Example
        • Checking User Outcome
        • Worklist Application to Approve Ticket
    • Identity Service
    • BPEL Server APIs
    • Summary
  • Chapter 7: MS BizTalk Server
    • Overview
      • Support for BPEL and XLANG/s
    • Architecture
      • Ports
        • Receive Locations
      • Adapters
      • Receive Pipelines
        • Message Contexts
        • Promoted Properties
        • Distinguished Fields
      • The MessageBox
        • How Publish-Subscribe works
      • Orchestrations
      • Maps
      • Business Rules Engine
      • Send Pipeline
    • Building a Sample Orchestration in BizTalk
      • Scenario
      • Implementation
    • Exporting Orchestration to BPEL
    • Importing BPEL Processes into BizTalk
    • Do's and Don'ts for BPEL Compliance in BizTalk
    • Comparing BizTalk Orchestration Constructs with BPEL
      • Receive and Send Shapes (<receive>, <invoke>, <reply>)
      • Port and Role Link Shapes (<partnerLink>, <partnerLinkType>, <role>)
      • Expression and Message Assignment Shapes (<assign>, <copy>, <from>, <to>)
      • Decide Shape (<switch>, <case>, <otherwise>)
      • Delay Shape (<wait>)
      • Parallel Actions Shape (<flow>)
      • Loop Shape (<while>)
      • Suspend Shape
      • Terminate Shape (<terminate>)
    • Advanced BPEL Functions using BizTalk
      • Listen Shape (<pick>, <onMessage>, <onAlarm>)
      • Scope Shape (<scope>)
      • Throw Exception Shape and Exception Handling (<throw>, <faultHandler>, <catch>, <catchAll>)
      • Compensate Shape and Compensation Block (<compensate>, <compensationHandler>)
      • Correlation (<correlations>, <correlationSets>)
    • Other BizTalk-Specific Features
      • Integration with other BizTalk Servers
      • Integration with Web Services
      • Integration with the .NET Framework
      • Human Workflow Services (HWS)
      • Business Activity Monitoring (BAM)
      • Health and Activity Tracking (HAT)
    • BizTalk Server 2006 and Beyond
    • Summary
  • Appendix A: BPEL Syntax Reference
    • Important BPEL Activities and Elements
      • <assign>, <copy>, <from>, <to>
      • <catch>, <catchAll>
      • <compensate>
      • <compensationHandler>
      • <correlations>, <correlation>
      • <correlationSets>, <correlationSet>
      • <empty>
      • <eventHandlers>
      • <faultHandlers>, <faultHandler>
      • <flow>
      • <invoke>
      • <links>, <link>
      • <onAlarm>
      • <onMessage>
      • <partnerLinks>, <partnerLink>
      • <partnerLinkType>, <role>
      • <partners>
      • <pick>
      • <process>
      • <property>
      • <propertyAlias>
      • <receive>
      • <reply>
      • <scope>
      • <sequence>
      • <source>
      • <switch>, <case>
      • <target>
      • <terminate>
      • <throw>
      • <variables>, <variable>
      • <wait>
      • <while>
    • BPEL Functions
      • getLinkStatus()
      • getVariableData()
      • getVariableProperty()
    • Deadline and Duration Expressions
    • Standard Elements
    • Standard Attributes
    • Default Values of Attributes
    • Standard Faults
    • Namespaces

Benny Mathew

Benny Mathew is a Solution Architect at Two Connect Inc. He did his Masters in Computer Applications from University of Mysore, India. His fascination for computers started at the age of 14, when he experienced the joy of programming for the first time on a Sinclair ZX Spectrum+. He has co-authored several books and articles on .NET and BizTalk 2004/2006 for leading book publishers and developer portals such as Wrox Press, Apress, Packt Publishing, DevX, ASPToday, CSharpToday and DeveloperFusion. During his free time, Benny likes to read/write blogs and help people on the newsgroups related to BizTalk. He was awarded Microsoft Most Valuable Professional (MVP) for two consecutive years. Before joining Two Connect, he was with companies like IBM, Hewlett Packard, Thomson Financials and Delphi Software. you can reach him at benny(at)mvps(dot)org.

Matjaz B. Juric

Matjaz B. Juric holds a PhD in Computer and Information Science. He is a Full Professor at the University of Ljubljana and head of the Cloud Computing and SOA Competence Centre ( Matjaz is a Java Champion, IBM Champion, and Oracle ACE Director. He has more than 15 years of work experience. He has authored/co-authored "Do More with SOA Integration, WS-BPEL 2.0 for SOA Composite Applications, Oracle Fusion Middleware Patterns, Business Process Driven SOA using BPMN and BPEL, and Business Process Execution Language for Web Services "(English and French editions). He has also authored/co-authored "BPEL Cookbook: Best Practices for SOA-based integration and composite applications development" (award for best SOA book in 2007 by SOA World Journal), "SOA Approach to Integration, Professional J2EE EAI, Professional EJB, J2EE Design Patterns Applied", and .NET Serialization Handbook. He has published chapters in More Java Gems (Cambridge University Press) and in Technology Supporting Business Solutions (Nova Science Publishers). He has also published in several journals and magazines and presented at conferences. Matjaz has been involved in several large-scale projects. In cooperation with the IBM Java Technology Centre, he worked on performance analysis and optimization of RMI-IIOP, an integral part of the Java platform.

Poornachandra Sarang

Poornachandra Sarang, Ph.D., is CEO of ABCOM Information Systems. He has been a Visiting Professor of Computer Engineering at the University of Notre Dame, USA and is currently a visiting professor for Post-Graduate Computer Science courses at the University of Mumbai. Dr. Sarang provides consulting services to worldwide clients in architecting and designing IT solutions based on Java, CORBA, and Microsoft platforms. A well known and a highly sought-after trainer, Dr. Sarang has conducted several training programs on the latest technologies for several top-notch IT companies. He conducts lectures/seminars on emerging technologies across the world and has made several presentations at international conferences. He has authored/co-authored several books on Java, C++, J2EE, e-Commerce, and .NET.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


- 1 submitted: last submission 03 Dec 2012

page 23 Typo 10 Jul 06
Line 25: BPML Heading:- BPML(Business Process Markup Language) should be replaced by&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;BPML(Business Process Modeling Language).
page 28 Typo 10 Jul 06
Line 16: BPES4J should be replaced by BPWS4J
page 40 Typo 27 Sep 06
In the section CoordinationContext, the last sentence reads "CoordinataionContext".&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;It should be "CoordinationContext".
page 132 Typo 30 Aug 06
The last sentence under the section "Serializable Scopes", has this portion "...not&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;br /&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;all BPEL severs...". This should be "...not all BPEL servers...".

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Business Process Execution Language for Web Services 2nd Edition +    Oracle SOA Suite Developer's Guide =
50% Off
the second eBook
Price for both: £39.00

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

Chapter 1 provides a detailed introduction to BPEL and Service Oriented Architecture (SOA). It discusses business processes and their automation, explains the role of BPEL, web services, and Enterprise Service Buses (ESB) in SOA, provides insight into business process composition with BPEL, explains the most important features, compares BPEL to other specifications, provides an overview of BPEL servers, and discusses the future of BPEL.

Chapter 2 provides a detailed introduction to the Web Services Technology Stack. It discusses the important standards and specifications for using BPEL and implementing SOA with web services, such as WS-Security, WS-Addressing, WS-Coordination, WS-AtomicTransaction, WS-BusinessActivity, WS-Reliable Messaging, etc.

Chapter 3 discusses the composition of web services with BPEL. The chapter introduces the core concepts of BPEL and explains how to define synchronous and asynchronous business processes with BPEL. The reader gets familiar with BPEL process structure, partner links, sequential and parallel service invocation, variables, conditions, etc.

Chapter 4 goes deeper into the BPEL specification and covers advanced features for modeling complex business processes. Advanced activities, scopes, serialization, fault handing, compensations, event handling, correlation sets, concurrent activities and links, process lifecycle, and dynamic partner links are covered in detail.

Chapter 5 explains how to use the Oracle BPEL Process Manager for deploying and executing business processes defined in BPEL. It describes the server architecture, tools, features, and common approaches for managing and debugging BPEL processes. The chapter also looks at graphical development of BPEL processes using Oracle BPEL Designer for JDeveloper and for Eclipse.

Chapter 6 takes a detailed look at the advanced features of the Oracle BPEL Process Manager including extension functions, dynamic parallel flows, Web Services Invocation Framework, Java embedding, Notification service, Workflow service, Identity service, and Oracle BPEL Server APIs.

Chapter 7 discusses MS BizTalk Server 2004 and its support for BPEL. It explains how to develop business processes in BizTalk and export them to BPEL. It also explains how to import BPEL processes into BizTalk and how to use the Orchestration Designer tool to define processes graphically, and compares BizTalk and BPEL constructs.

Appendix A provides a syntax reference for BPEL version 1.1. The appendix covers standard BPEL activities and elements, functions, attributes, and faults.

In Detail

Web services provide the basic technical platform required for application interoperability. They do not, however, provide higher level control, such as which web services need to be invoked, which operations should be called and in what sequence. Nor do they provide ways to describe the semantics of interfaces, the workflows, or e-business processes. BPEL is the missing link to assemble and integrate web services into a real business process BPEL4WS standardizes process automation between web services. This applies both within the enterprise, where BPEL4WS is used to integrate previously isolated systems, and between enterprises, where BPEL4WS enables easier and more effective integration with business partners. In providing a standard descriptive structure BPEL4WS enables enterprises to define their business processes during the design phase. Wider business benefits can flow from this through business process optimization, reengineering, and the selection of most appropriate processes . Supported by major vendors — including BEA, Hewlett-Packard, IBM, Microsoft, Novell, Oracle, SAP, Sun, and others — BPEL4WS is becoming the accepted standard for business process management.

This book provides detailed coverage of BPEL4WS, its syntax, and where, and how, it is used. It begins with an overview of web services, showing both the foundation of, and need for, BPEL. The web services orchestration stack is explained, including standards such as WS-Security, WS-Coordination, WS-Transaction, WS-Addressing, and others. The BPEL language itself is explained in detail, with Code snippets and complete examples illustrating both its syntax and typical construction. Having covered BPEL itself, the book then goes on to show BPEL is used in context. by providing an overview of major BPEL4WS servers. It covers the Oracle BPEL Process Manager and Microsoft BizTalk Server 2004 in detail, and shows how to write BPEL4WS solutions using these servers.

This book is a comprehensive and practical guide to the design, development, usage, and syntax of Business Process Execution Language (BPEL). BPEL is explained in detail, code snippets and complete examples are used to show how business processes are specified. Two major BPEL servers, the Oracle BPEL Process Manager and Microsoft BizTalk Server, are covered in detail, and an overview of other major BPEL servers is provided.

This book replaces the first edition ISBN 1904811183

Changes from the previous edition:

  • New Ch1 overview BPEL and SOA
  • New Ch6 advanced features of Oracle BPEL Process Manager
  • Updated and extended coverage of standards, BizTalk 2006 issues, BPEL 1.1
  • We recommend that only those readers who have a particular interest in extended coverage of Oracle Process Manager should upgrade, however if you do own the original edition you are eligible for an eBook upgrade offer. Please contact us for details.

    Detailed list of changes from first edition PDF

    Visit the Online Edition of this book:

    Read Chapter 5 from BPEL 2nd Edition:

    "Oracle BPEL Process Manager & BPEL Designer: Overview"  (PDF - 1.5MB)


    Who this book is for

    This book is aimed at architects and developers in the design, implementation, and integration phases of advanced information systems and e-business solutions, developing business processes and dealing with the issues of composition, orchestration, transactions, coordination, and security. The book presumes knowledge of XML and web services, web services development (either on J2EE or .NET), and multi-tier architecture

    Buy this book with BPEL Cookbook: Best Practices for SOA-based integration and composite applications development and get an amazing 25% off on your order!!!


    Code Download and Errata
    Packt Anytime, Anywhere
    Register Books
    Print Upgrades
    eBook Downloads
    Video Support
    Contact Us
    Awards Voting Nominations Previous Winners
    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software