SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
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

Mais conteúdo relacionado

Semelhante a The Influence of an External Transaction on a BPEL Scope

ServiceNow Knowledge11 IT Cost Management Session
ServiceNow Knowledge11 IT Cost Management SessionServiceNow Knowledge11 IT Cost Management Session
ServiceNow Knowledge11 IT Cost Management SessionJohn Roberts
 
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 Managementjaysdon02
 
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 managementLindseyvoigt
 
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 ManagementShannon Blackwell
 
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 Managementjfimmen
 
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 Managementsusanpeterson1966
 
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 managementTammilazarus
 
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 managementjcain79
 

Semelhante a 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
 

Mais 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 stackOliver Kopp
 
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...Oliver Kopp
 
The Subprocess Spectrum
The Subprocess SpectrumThe Subprocess Spectrum
The Subprocess SpectrumOliver 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²EPCsOliver 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
 
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 BPELOliver 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 ProcessesOliver 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
 
Web Service Choreography Configurations for BPMN
Web Service Choreography Configurations for BPMNWeb Service Choreography Configurations for BPMN
Web Service Choreography Configurations for BPMNOliver Kopp
 
Service Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based ChoreographiesService Referrals in BPEL-based Choreographies
Service Referrals in BPEL-based ChoreographiesOliver Kopp
 
Tools4BPEL Abschlusspräsentation
Tools4BPEL AbschlusspräsentationTools4BPEL Abschlusspräsentation
Tools4BPEL AbschlusspräsentationOliver Kopp
 

Mais 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
 

Último

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
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 WoodJuan lago vázquez
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 

Último (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

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