Dependable Composition of Web Services and Process Calculi Manuel Mazzara Newcastle University.

Slides:



Advertisements
Similar presentations
Web Services Choreography and Process Algebra 29th April 2004 Steve Ross-Talbot Chief Scientist, Enigmatec Corporation LtdEnigmatec Corporation Ltd Chair.
Advertisements

Web Services Choreography Description Language Overview 24th November2004 Steve Ross-Talbot Chief Scientist, Enigmatec Corporation Ltd Chair W3C Web Services.
Web Services Choreography Description Language Overview 6th December 2004 JP Morgan Steve Ross-Talbot Chair W3C Web Services Activity Co-chair W3C Web.
Web Service Composition Prepared by Robert Ma February 5, 2007.
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
1 Ivan Lanese Computer Science Department University of Bologna Italy Managing faults and compensations in SOCK Joint work with Claudio Guidi, Fabrizio.
Web Services Transaction Management (WS-TXM) Michael Felderer Digital Enterprise Research Institute
Don’t go with the flow : Web services composition standards exposed
1 Transactions and Web Services. 2 Web Environment Web Service activities form a unit of work, but ACID properties are not always appropriate since Web.
Programming Paradigms for Concurrency Lecture 11 Part III – Message Passing Concurrency TexPoint fonts used in EMF. Read the TexPoint manual before you.
1 Reversibility for Recoverability Ivan Lanese Computer Science Department FOCUS research group University of Bologna/INRIA Bologna, Italy.
Ivan Lanese Computer Science Department University of Bologna/INRIA Italy Fault in the Future Joint work with Gianluigi Zavattaro and Einar Broch Johnsen.
A university for the world real R © 2009, Chapter 15 The Business Process Execution Language Chun Ouyang Marlon Dumas Petia Wohed.
Process Calculi for web services Lucian Wischik, University of Bologna W3C choreography group, March.
Course on Probabilistic Methods in Concurrency (Concurrent Languages for Probabilistic Asynchronous Communication) Lecture 1 The pi-calculus and the asynchronous.
Transparent Robustness in Service Aggregates Onyeka Ezenwoye School of Computing and Information Sciences Florida International University May 2006.
1 Ivan Lanese Computer Science Department University of Bologna Italy On the Interplay between Fault Handling and Request-response Service Invocations.
1 Ivan Lanese Computer Science Department University of Bologna Italy Towards a Unifying Theory for Web Services Composition Manuel Mazzara Faculty of.
1 The SOCK SAGA Ivan Lanese Computer Science Department University of Bologna Italy Joint work with Gianluigi Zavattaro.
A DAPT IST Task model as input for future deliverables Simon Woodman University of Newcastle.
Ivan Lanese Computer Science Department University of Bologna/INRIA Italy On the Expressive Power of Primitives for Compensation Handling Joint work with.
IBM WebSphere survey Kristian Bisgaard Lassen. University of AarhusIBM WebSphere survey2 Tools  WebSphere Application Server Portal Studio Business Integration.
1 Formal Models for Distributed Negotiations Description Roberto Bruni Dipartimento di Informatica Università di Pisa XVII Escuela de Ciencias Informaticas.
1 Ivan Lanese Computer Science Department University of Bologna Italy Error Handling in Service Oriented Computing Joint work with Claudio Guidi, Fabrizio.
Business Process Orchestration
1 SOCK and JOLIE from the formal basis to a service oriented programming language Ivan Lanese Computer Science Department University of Bologna Italy Joint.
1 Ivan Lanese Computer Science Department University of Bologna Italy Evolvable systems: some ideas for modelling With input from Davide Sangiorgi, Fabrizio.
BPEL (Business Process Execution Language)
1 Ivan Lanese Computer Science Department University of Bologna/INRIA Italy Error Handling: From Theory to Practice Joint work with Fabrizio Montesi italianaSoftware.
1 Static vs dynamic SAGAs Ivan Lanese Computer Science Department University of Bologna/INRIA Italy.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
1 WS Technologies III BPEL4WS Roberto Bruni Dipartimento di Informatica Università di Pisa Models and Languages for Coordination and Orchestration IMT-
Ivan Lanese Computer Science Department University of Bologna/INRIA Italy Fault in the Future Joint work with Gianluigi Zavattaro and Einar Broch Johnsen.
1 Programming SAGAs in SOCK Ivan Lanese Computer Science Department University of Bologna Italy Joint work with Gianluigi Zavattaro The SOCK saga.
BPEL4WS Stewart Green University of the West of England.
1 Ivan Lanese Computer Science Department University of Bologna Italy On the expressive power of primitives for compensation handling Joint work with Catia.
Session II Part I – BPMN, BPEL and WS*
1 Ivan Lanese Computer Science Department University of Bologna Italy Towards a Unifying Theory for Web Services Composition Manuel Mazzara Faculty of.
THE NEXT STEP IN WEB SERVICES By Francisco Curbera,… Memtimin MAHMUT 2012.
Demonstrating WSMX: Least Cost Supply Management.
A Survey on Service Composition Languages and Models Antonio Bucchiarone Antonio Bucchiarone and Stefania Gnesi Istituto di Scienza e Tecnologie dell’Informazione.
DEVS Namespace for Interoperable DEVS/SOA
BPEL4WS (Business Process Execution Language for Web Services) Nirmal Mukhi Component Systems Department IBM Research.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Fault Recovery in WS-Diamond using the SH-BPEL Engine.
Advanced Topics in SE Spring Process Algebra Hossein Hojjat Formal Methods Lab University of Tehran.
BPEL F2F Jan 10 – 12, Proposed agenda Jan Administrative start up –attendance, quorum, minute takers –Review/accept minutes from previous.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Business Process Execution Language. Web Services: BPEL2 Business Process Execution Language Define business processes as coordinated sets of Web service.
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Lecture 7: BPEL Some notes selected from.
Introducing BPEL Concepts Oracle BPEL Process Manager.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
“Dynamic fault handling mechanisms for service-oriented applications” Fabrizio Montesi, Claudio Guidi, Ivan Lanese and Gianluigi Zavattaro Department of.
Ivan Lanese Computer Science Department University of Bologna/INRIA Italy Decidability Results for Dynamic Installation of Compensation Handlers Joint.
BPEL Business Process Engineering Language A technology used to build programs in SOA architecture.
1 Joint work with Claudio Antares Mezzina and Jean-Bernard Stefani Controlled Reversibility and Compensations Ivan Lanese Focus research group Computer.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Qusay H. Mahmoud CIS* CIS* Service-Oriented Computing Qusay H. Mahmoud, Ph.D.
Apostolos Niaouris Newcastle University Industry Day Mobility Plug-in.
BPEL: Business Process Execution Language for Web Services Dr. Yuhong Yan NRC-IIT-Fredericton Internet logic.
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Lecture 8: More BPEL Notes selected from.
SE 548 Process Modelling WEB SERVICE ORCHESTRATION AND COMPOSITION ÖZLEM BİLGİÇ.
1 SOA Seminar Service Oriented Architecture Lecture 8: More BPEL Notes selected from the paper “Formal Semantics and Analysis of control flow in WS-BPEL.
Service Composition Orchestration BPEL Cédric Tedeschi ISI – M2R.
1 Seminar on SOA Seminar on Service Oriented Architecture BPEL Some notes selected from “Business Process Execution Language for Web Services” by Matjaz.
Business Process Execution Language (BPEL) Pınar Tekin.
Sabri Kızanlık Ural Emekçi
Service Oriented Computing
DEPENDABILITY AND ROLLBACK RECOVERY FOR COMPOSITE WEB SERVICES
What’s new in WS-BPEL 2.0? Last Modified: Aug 30, 2006.
Presentation transcript:

Dependable Composition of Web Services and Process Calculi Manuel Mazzara Newcastle University

1.Process Calculi and their Equivalences reconfigurability in the pi-calculus equivalences/bisimulation 2.Dependable Composition of WS WS and standards BPEL composition Recovery 3.Process calculi and BPEL unification of Recovery Framework Agenda

Process Calculi and their Equivalences

Language syntax semantics pragmatics Interaction message passing mobility reconfigurability What is a “process calculus”?

Messages can include channel names (pi-calculus) Sending an address expecting a reply to that address output capability (MS Biztalk) a received name will be used as the subject of outputs only input capability (π-calculus) a received name will be used as the subject of inputs Reconfigurability

Functions identical outputs for identical inputs What about interactive programs? bisimulation programs exhibiting the same behaviour Equivalences

Web Services vs. BEV Services 50p Push “tea” Serve teaPush “coffee” 50p Serve coffee 50p Push “tea” Serve tea Push “coffee” 50p Serve coffee 50p IMPLEMENTATION SPECIFICATION Milner’s CCS famous example

These two BEV services accept the same message-sequences 50p.tea  tea 50p.50p.coffe  coffee Are they the same? message-sequences can be inadequate Essence of bisimulation attention to possibilities still available at each state Message-sequences

50p Push “tea” Serve teaPush “coffee” 50p Serve coffee SPECIFICATION 50p Push “tea” Serve tea Push “coffee” 50p Serve coffee 50p IMPLEMENTATION Look at this state

This state in the specification has two possibilities: 50p “tea” There is no matching state in the implementation The implementation fails bisimulation What is wrong?

A new implementation 50p Push “tea” Serve teaPush “coffee” 50p Serve coffee SPECIFICATION 50p private dialog with Illy, Lavazza, Segafredo, Breda NEW IMPLEMENTATION Push “tea” Serve teaPush “coffee” Serve coffee

Engagement in a private dialog with providers at the end it still emits the coffee Internal states same external possibilities of the specification Now it is fine!

Dependable Composition of Web Services

WS Background

BPEL for WS Composition XML (workflow) “programming language” Standard (11 April 2007)

A process consists of a set of (nested) activities Basic activity receive and send messages assign values to variables composition is stateful signal faults Structured activities sequential, parallel conditional looping BPEL Activities

SOAP is employed as an XML messaging protocol SOAP is not compulsory in SOA anyway message level WS-Reliability (OASIS) dependability added to the unreliable Internet channel of communication WS-Security (OASIS) specifies mechanisms to provide integrity and confidentiality of SOAP messages Dependability in WS (standards)

Fault Forecasting Fault Tolerance Fault Removal Fault Prevention Dependable Composition not standardised At the level of single services by domain- specific techniques Oracle BPEL process manager/Biztalk… provide no support Contractsconformance Deadlock Safety… stochastic Petri nets? recovery

Recovery in WS ACIDity is not possible when transactions last long periods and cross administrative domains atomicity has to be relaxed isolation has to be relaxed no “perfect” roll-back explicit compensation

WS-BPEL: scope Basic Units of Work WS-BPEL: fault handler FailuresManagement WS-BPEL: compensation PartialRoll-back BPEL Recovery Framework (1)

Fault Handler (FH) forwards error recovery reacts to events occurring during the normal execution catch blocks for explicitly thrown faults generally returned by an invoke activity possibly thrown from inside the process itself scopes are abnormally terminated when FH is invoked Compensation Handler (CH) backwards error recovery installed when the body successfully terminates application-specific rollback get back to a state where execution can continue available for another activity requiring an undo BPEL Recovery Framework (2)

Process Calculi and BPEL

Formal Methods?

BPEL process ? BPEL process ? ≈ Bisimulation ?

The Unifying Theory

Two ways to interact: Event raising Asynchronous message passing Reduction Semantics

Understanding of the OS ACTIVE BPEL semantics It “should” implement the standard BPEL Definition of the BPEL encoding BPEL Encoding Description of how the BPEL activites can be represented in the calculus

Use of the continuation passing style technique BPEL Encoding (only basic activities)

Work Unit Basic Units of Work Event Handler FailuresManagement PartialRoll-back Unified Recovery Framework

BPEL process π process BPEL process π process ≈ Use of Bisimulation

Semantics only for a subset of the BPEL activities Encoding hardly readable Timed theory not fully developed (timed transactions) Explosion of states when encoding examples due to signaling of the end of each activity Efficient Analysis of BPEL 2.0 Processes Using pi-Calculus Weidlich, M.; Decker, G.; Weske, M. Some feedback about this work

Contacts (0) (0)