SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
17th International Conference on
                                 COOPERATIVE INFORMATION SYSTEMS
                CoopIS 2009 – http://www.onthemove‐conferences.org/index.php/coopis



                                The Influence of an
                             External Transaction on a
                                   BPEL Scope


                                Oliver Kopp, Ralph Mietzner, Frank Leymann
                           Institute of Architecture of Application Systems (IAAS)
                                          www.iaas.uni‐stuttgart.de




Presented by Oliver Kopp                                                              1
Agenda

      Background

      Usual Integration of Partner Services

      Choreography Scenario

      Relationship of WS‐Coordination Activities

      Extension of WS‐Business Activity


Presented by Oliver Kopp                           2
Background

      SOA
      Implementation: WS‐Plattform Architecture
              Curbera, F., Leymann, F., Storey, T., Ferguson, D.,Weerawarana, S.:Web Services Platform 
              Architecture: SOAP, WSDL, WS‐Policy, WS‐Addressing, WS‐BPEL, WS‐Reliable Messaging and 
              More. Prentice Hall PTR, Englewood Cliffs (2005)

      Services (described by WSDL)
      Orchestrated by a business process
              Business Process Execution Language (BPEL)
      A business process is a service, too
      Long‐running transactions
              Compensation instead of ACID
                       SAGA‐Principle: Garcia‐Molina, H. & Salem, K. Dayal, U. & Traiger, I. L. 
                       (ed.) Sagas. SIGMOD’87, ACM Press
Presented by Oliver Kopp                                                                                  3
Usual Integration of Partner Services
                                                         Visa 
Agency
Travel 




                                                      Application



       BPEL’s transaction boundaries are scopes
       Invokation of the visa agency is also a scope
       What if the visa application has to be compensated?
               “Manual compensation”
               Automated coordination




                            Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004.
 Presented by Oliver Kopp                                                                                                  4
WS‐Coordination Framework

                                                        Coordinator
                     Coordination
                       Context

     BPEL                           Activation           Registration            Protocol 
                                                                                                             Service 1
    Process                          Service               Service               Service




                                      Message including Coordination Context


                                      Message including Coordination Context                                  Service 2



                            Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004.
Presented by Oliver Kopp                                                                                                   5
WS‐Coordination Activity Tree

     BPEL 
                           Coordinator      Service 1
    Process

                                            Service 2




                                                      BPEL 
                                                     Process


                                         Service 1             Service 2



                                                               Service 2.1



Presented by Oliver Kopp                                                     6
Coordination Protocol: WS‐Business Activity

      Service is tied to life‐cycle of calling process
      Compensation‐based Transactions:
      WS‐Business Activity (WS‐BA) coordination protocol
                                      Coordinator generated
                                      Participant generated

                     completed                                     close                           closed
     Active                               Completed                               Closing                           Ended
                                              compensate
                           fail                                                 compensated
                                                                                                   failed
       cancel                                                            fail
                                        Compensating                              Failing

                                                            fail
                                           Canceling               canceled

                                  Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004.
Presented by Oliver Kopp                                                                                                         7
Scenario
                                                     Visa 
                                                  Application
  Travel Agency




                                                     24h
                           Send Booking
                              Details                                  Print and
                                                                      Send Ticket
                                                    Inform
                                                   Customer              Send 
                                                                      Confirmation



                                                                                  Flight 
                                                    24h                          started
                                          Free              Create      Send 
  Airline




                   Reserve Seat
                                          Seat              eTicket    eTicket
                     Send 
                  Confirmation                                            Flight
                                                                        canceled
Presented by Oliver Kopp                                                                    8
Scope Relations – WS‐Coordination “Tree”
  Travel Agency

                                                      Visa 
                                                   Application
                               Scope                                                  Scope
                            Booking (SB)                                            Ticket (ST)
  Airline




                                Scope                                                Send 
                           Reservation (SR)                                         eTicket


                                Travel Agency                                         Airline
                                   Process                                            Process


                  Scope SB     Visa Application   Scope ST                 Scope SR           Send eTicket




                                                      Nesting relationship of WS‐Coordination Activities

                                                   Pottinger, S., Mietzner, R., Leymann, F.: Coordinate BPEL Scopes and Processes by
                                                   Extending the WS‐Business Activity Framework. In: 15th International Conference
Presented by Oliver Kopp                           on Cooperative Information Systems (CoopIS 2007).                              9
Need for Participant‐Triggered Compensating

       Current WS‐BA: Coordinator triggers compensation
       WS‐BA w/ PTC: Coordinator and Participant may trigger 
       compensation
                                                                     compensate
                Preparing             closing           Closing
                 Closing             prepared          Prepared
                             prepare closing                 close
compensating
                                         close                       closed
               Completed                                Closing
                                                        Closed                    Ended
                            compensate
compensating                                          compensated
                                                                     failed
                                               fail
            Compensating                                Failing


                                                                                     Coordinator generated
 Presented by Oliver Kopp                                                            Participant generated   10
Conclusion and Outlook

      A BPEL scope may be a participant in two
      compensation‐based transactions
      Solved by a modification of WS‐BA
      Transaction boundary = scope boundary
      Last activity of scope: “reply” to incoming message

      What if last activity of scope is not a “reply”?
      What if scope boundary is not external transaction 
      boundary?
      What if scope is child of multiple external partners?

Presented by Oliver Kopp                                      11

Contenu connexe

Similaire à The Influence of an External Transaction on a BPEL Scope

Concur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense ManagementConcur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense Management
jaysdon02
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
Lindseyvoigt
 
Concur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense ManagementConcur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense Management
jfimmen
 
Best Practices In Travel And Expense Management
Best Practices In Travel And Expense ManagementBest Practices In Travel And Expense Management
Best Practices In Travel And Expense Management
susanpeterson1966
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
Tammilazarus
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
jcain79
 

Similaire à The Influence of an External Transaction on a BPEL Scope (9)

Concur Overview
Concur OverviewConcur Overview
Concur Overview
 
ServiceNow Knowledge11 IT Cost Management Session
ServiceNow Knowledge11 IT Cost Management SessionServiceNow Knowledge11 IT Cost Management Session
ServiceNow Knowledge11 IT Cost Management Session
 
Concur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense ManagementConcur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense Management
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
 
Concur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense ManagementConcur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense Management
 
Concur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense ManagementConcur Best Practices In Travel And Expense Management
Concur Best Practices In Travel And Expense Management
 
Best Practices In Travel And Expense Management
Best Practices In Travel And Expense ManagementBest Practices In Travel And Expense Management
Best Practices In Travel And Expense Management
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
 
Concur best practices in travel and expense management
Concur best practices in travel and expense managementConcur best practices in travel and expense management
Concur best practices in travel and expense management
 

Plus de Oliver Kopp

Fault handling in the web service stack
Fault handling in the web service stackFault handling in the web service stack
Fault handling in the web service stack
Oliver Kopp
 
External And Internal Events In EPCs: E²EPCs
External And Internal Events In EPCs: E²EPCsExternal And Internal Events In EPCs: E²EPCs
External And Internal Events In EPCs: E²EPCs
Oliver Kopp
 
Do We Need Internal Behavior in Choreography Models?
Do We Need Internal Behavior in Choreography Models?Do We Need Internal Behavior in Choreography Models?
Do We Need Internal Behavior in Choreography Models?
Oliver Kopp
 
Deriving Explicit Data Links in WS-BPEL Processes
Deriving Explicit Data Links in WS-BPEL ProcessesDeriving Explicit Data Links in WS-BPEL Processes
Deriving Explicit Data Links in WS-BPEL Processes
Oliver Kopp
 
On the Choice Between Graph-Based and Block-Structured Business Process Mod...
On the Choice Between  Graph-Based and Block-Structured  Business Process Mod...On the Choice Between  Graph-Based and Block-Structured  Business Process Mod...
On the Choice Between Graph-Based and Block-Structured Business Process Mod...
Oliver Kopp
 
Service Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based ChoreographiesService Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based Choreographies
Oliver Kopp
 

Plus de Oliver Kopp (12)

Fault handling in the web service stack
Fault handling in the web service stackFault handling in the web service stack
Fault handling in the web service stack
 
Interaction Choreography Models in BPEL:Choreographies on the Enterprise Serv...
Interaction Choreography Models in BPEL:Choreographies on the Enterprise Serv...Interaction Choreography Models in BPEL:Choreographies on the Enterprise Serv...
Interaction Choreography Models in BPEL:Choreographies on the Enterprise Serv...
 
The Subprocess Spectrum
The Subprocess SpectrumThe Subprocess Spectrum
The Subprocess Spectrum
 
External And Internal Events In EPCs: E²EPCs
External And Internal Events In EPCs: E²EPCsExternal And Internal Events In EPCs: E²EPCs
External And Internal Events In EPCs: E²EPCs
 
Do We Need Internal Behavior in Choreography Models?
Do We Need Internal Behavior in Choreography Models?Do We Need Internal Behavior in Choreography Models?
Do We Need Internal Behavior in Choreography Models?
 
A Model-Driven Approach to Implementing Coordination Protocols in BPEL
A Model-Driven Approach to Implementing Coordination Protocols in BPELA Model-Driven Approach to Implementing Coordination Protocols in BPEL
A Model-Driven Approach to Implementing Coordination Protocols in BPEL
 
BPELscript
BPELscriptBPELscript
BPELscript
 
Deriving Explicit Data Links in WS-BPEL Processes
Deriving Explicit Data Links in WS-BPEL ProcessesDeriving Explicit Data Links in WS-BPEL Processes
Deriving Explicit Data Links in WS-BPEL Processes
 
On the Choice Between Graph-Based and Block-Structured Business Process Mod...
On the Choice Between  Graph-Based and Block-Structured  Business Process Mod...On the Choice Between  Graph-Based and Block-Structured  Business Process Mod...
On the Choice Between Graph-Based and Block-Structured Business Process Mod...
 
Web Service Choreography Configurations for BPMN
Web Service Choreography Configurations for BPMNWeb Service Choreography Configurations for BPMN
Web Service Choreography Configurations for BPMN
 
Service Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based ChoreographiesService Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based Choreographies
 
Tools4BPEL Abschlusspräsentation
Tools4BPEL AbschlusspräsentationTools4BPEL Abschlusspräsentation
Tools4BPEL Abschlusspräsentation
 

Dernier

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

The Influence of an External Transaction on a BPEL Scope

  • 1. 17th International Conference on COOPERATIVE INFORMATION SYSTEMS CoopIS 2009 – http://www.onthemove‐conferences.org/index.php/coopis The Influence of an External Transaction on a BPEL Scope Oliver Kopp, Ralph Mietzner, Frank Leymann Institute of Architecture of Application Systems (IAAS) www.iaas.uni‐stuttgart.de Presented by Oliver Kopp 1
  • 2. Agenda Background Usual Integration of Partner Services Choreography Scenario Relationship of WS‐Coordination Activities Extension of WS‐Business Activity Presented by Oliver Kopp 2
  • 3. Background SOA Implementation: WS‐Plattform Architecture Curbera, F., Leymann, F., Storey, T., Ferguson, D.,Weerawarana, S.:Web Services Platform  Architecture: SOAP, WSDL, WS‐Policy, WS‐Addressing, WS‐BPEL, WS‐Reliable Messaging and  More. Prentice Hall PTR, Englewood Cliffs (2005) Services (described by WSDL) Orchestrated by a business process Business Process Execution Language (BPEL) A business process is a service, too Long‐running transactions Compensation instead of ACID SAGA‐Principle: Garcia‐Molina, H. & Salem, K. Dayal, U. & Traiger, I. L.  (ed.) Sagas. SIGMOD’87, ACM Press Presented by Oliver Kopp 3
  • 4. Usual Integration of Partner Services Visa  Agency Travel  Application BPEL’s transaction boundaries are scopes Invokation of the visa agency is also a scope What if the visa application has to be compensated? “Manual compensation” Automated coordination Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004. Presented by Oliver Kopp 4
  • 5. WS‐Coordination Framework Coordinator Coordination Context BPEL  Activation Registration  Protocol  Service 1 Process Service Service Service Message including Coordination Context Message including Coordination Context Service 2 Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004. Presented by Oliver Kopp 5
  • 6. WS‐Coordination Activity Tree BPEL  Coordinator Service 1 Process Service 2 BPEL  Process Service 1 Service 2 Service 2.1 Presented by Oliver Kopp 6
  • 7. Coordination Protocol: WS‐Business Activity Service is tied to life‐cycle of calling process Compensation‐based Transactions: WS‐Business Activity (WS‐BA) coordination protocol Coordinator generated Participant generated completed close closed Active Completed Closing Ended compensate fail compensated failed cancel fail Compensating Failing fail Canceling canceled Tai, S., Khalaf, R., Mikalsen, T.A.: Composition of Coordinated Web Services. In: Middleware 2004. Presented by Oliver Kopp 7
  • 8. Scenario Visa  Application Travel Agency 24h Send Booking Details Print and Send Ticket Inform Customer Send  Confirmation Flight  24h started Free  Create  Send  Airline Reserve Seat Seat eTicket eTicket Send  Confirmation Flight canceled Presented by Oliver Kopp 8
  • 9. Scope Relations – WS‐Coordination “Tree” Travel Agency Visa  Application Scope Scope Booking (SB) Ticket (ST) Airline Scope Send  Reservation (SR) eTicket Travel Agency  Airline Process Process Scope SB Visa Application Scope ST Scope SR Send eTicket Nesting relationship of WS‐Coordination Activities Pottinger, S., Mietzner, R., Leymann, F.: Coordinate BPEL Scopes and Processes by Extending the WS‐Business Activity Framework. In: 15th International Conference Presented by Oliver Kopp on Cooperative Information Systems (CoopIS 2007). 9
  • 10. Need for Participant‐Triggered Compensating Current WS‐BA: Coordinator triggers compensation WS‐BA w/ PTC: Coordinator and Participant may trigger  compensation compensate Preparing closing Closing Closing prepared Prepared prepare closing close compensating close closed Completed Closing Closed Ended compensate compensating compensated failed fail Compensating Failing Coordinator generated Presented by Oliver Kopp Participant generated 10
  • 11. Conclusion and Outlook A BPEL scope may be a participant in two compensation‐based transactions Solved by a modification of WS‐BA Transaction boundary = scope boundary Last activity of scope: “reply” to incoming message What if last activity of scope is not a “reply”? What if scope boundary is not external transaction  boundary? What if scope is child of multiple external partners? Presented by Oliver Kopp 11