A-Priori Verification of Web Services with Abduction Marco Alberti 1 Federico Chesani 2 Marco Gavanelli 1 Evelina Lamma 1 Paola Mello 2 Marco Montali 2.

Slides:



Advertisements
Similar presentations
1 Verification by Model Checking. 2 Part 1 : Motivation.
Advertisements

2006 Pearson Education, Inc. All rights reserved Object-Oriented Programming: Inheritance.
Andrea Maurino Web Service Design Methodology Batini, De Paoli, Maurino, Grega, Comerio WP2-WP3 Roma 24/11/2005.
Convegno Progetto FIRB LSNO – Capri 19/20 aprile ESOPO: an Environment for Solving Optimization Problems Online M. DApuzzo *, M.L. De Cesare **,
Slide 1 Insert your own content. Slide 2 Insert your own content.
Chapter 7 System Models.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Relational Database and Data Modeling
1DAML PI meeting, October DAML and Agents DAML and Agents Breakout Session DAML PI Meeting 17 October 2002 Tim Finin.
Requirements. UC&R: Phase Compliance model –RIF must define a compliance model that will identify required/optional features Default.
Presented to: By: Date: Federal Aviation Administration Registry/Repository in a SOA Environment SOA Brown Bag #5 SWIM Team March 9, 2011.
1 ABCs of PKI TAG Presentation 18 th May 2004 Paul Butler.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Relational data objects 1 Lecture 6. Relational data objects 2 Answer to last lectures activity.
Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.
CS4026 Formal Models of Computation Part II The Logic Model Lecture 1 – Programming in Logic.
Database Design: ER Modelling (Continued)
Copyright 2006 Digital Enterprise Research Institute. All rights reserved. MarcOnt Initiative Tools for collaborative ontology development.
Programming Language Concepts
Tintu David Joy. Agenda Motivation Better Verification Through Symmetry-basic idea Structural Symmetry and Multiprocessor Systems Mur ϕ verification system.
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
Marco Gavanelli – Università di Ferrara, Italy Marco Alberti – Universidade nova de Lisboa, Portugal Evelina Lamma – Università di Ferrara, Italy.
Week 2 The Object-Oriented Approach to Requirements
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering.
© 2011 TIBCO Software Inc. All Rights Reserved. Confidential and Proprietary. Towards a Model-Based Characterization of Data and Services Integration Paul.
June, 2006 The 11th CAiSE06 International Workshop on Exploring Modeling Methods in Systems Analysis and Design (EMMSAD06), Luxembourg Ontological.
The Next Generation Messaging Technology - Makes Web Services Effective Maria E Orlowska The University of Queensland School of ITEE Australia.
O X Click on Number next to person for a question.
© S Haughton more than 3?
1 UML ++ Mohamed T IBRAHIM University of Greenwich -UK.
IONA Technologies Position Paper Constraints and Capabilities for Web Services
Twenty Questions Subject: Twenty Questions
1 I-globe: integration. 2 scenario 3 infrastructure.
1 Heriot -Watt University MACS, Edinburgh Towards a Logical Framework For Knowledge Management in Digital Economy Lilia Georgieva and.
Modal Logic with Variable Modalities & its Applications to Querying Knowledge Bases Evgeny Zolin The University of Manchester
31242/32549 Advanced Internet Programming Advanced Java Programming
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Science as a Process Chapter 1 Section 2.
Executional Architecture
Properties of Exponents
Event 4: Mental Math 7th/8th grade Math Meet ‘11.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
11 = This is the fact family. You say: 8+3=11 and 3+8=11
Chapter 2 Entity-Relationship Data Modeling: Tools and Techniques
Controlling as a Management Function
Week 1.
O X Click on Number next to person for a question.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 31 Slide 1 Service-centric Software Engineering 1.
16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.
ARSPA04Sadri, Toni1 A Logic-Based Approach to Reasoning with Beliefs about Trust ARSPA 2004 Fariba Sadri 1 and Francesca Toni 1,2 1: Department of Computing,
1 Intention of slide set Inform WSMOLX of what is planned for Choreography & Orhestration in DIP CONTENTS Terminology Clarification / what will be described.
Semantic Web Thanks to folks at LAIT lab Sources include :
Towards a DecSerFlow mapping to SCIFF Federico Chesani, Paola Mello, Marco Montali, Sergio Storari.
0 General information Rate of acceptance 37% Papers from 15 Countries and 5 Geographical Areas –North America 5 –South America 2 –Europe 20 –Asia 2 –Australia.
ALMA MATER STUDIORUM UNIVERSITY OF BOLOGNA UNIVERSITY OF FERRARA Policy-based reasoning for smart web service interaction Federico Chesani, Paola Mello,
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Artificial Intelligence Logical Agents Chapter 7.
Web Ontology Language for Service (OWL-S)
Presentation transcript:

A-Priori Verification of Web Services with Abduction Marco Alberti 1 Federico Chesani 2 Marco Gavanelli 1 Evelina Lamma 1 Paola Mello 2 Marco Montali 2 1 ENDIF, Università di Ferrara 2 DEIS, Università di Bologna

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 2 Motivation: Service Oriented Computing Web services: – Defined by their behavioural interface – Simple stand-alone applications, or – Potential components of complex applications, by Composition of web services: – As specified by a choreography Will the web services comply to the choreography?

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 3 Choreographies vs. MAS protocols Similarities (Baldoni et al., LNCS 3670): – Both define rules for collaboration among peers – Both express dependencies and constraints in interactions – Both abstract away from internals, focusing on interface Wide literature on MAS protocol verification Approach: apply MAS techniques to SOC verification

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 4 In this talk: The A l LoWS framework Abductive Logic Web-service Specification Language to specify choreographies and web service interfaces (originally: interaction protocols and reactive agents), with an abductive semantics Definition of conformance of a web service to a choreography Abductive proof procedures to verify conformance

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 5 Representation of interactions Interaction as exchange of messages. Messages format: – m x (Sender, Receiver, Content) Events: actual message exchanges – H(Message[,Time]) Expectations: desired message exchanges – E(Event[,Time])

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 6 Choreography Specification Abductive triple ε : abducible signatures (events H and expectations E chor ) Choreography Knowledge Base: logic program with expectations in clause bodies Choreography Integrity Constraints: implications relating events and expectations

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 7 Choreography example KB chor deadline(10). IC chor H(m 1 (X,Y),T 1 ) /\ deadline(T d ) E chor (m 2 (Y,X),T 2 ) /\ T 2 < T 1 + T d \/ E chor (m 3 (Y,X),T 2 ) /\ T 2 < T 1 + T d

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 8 Web Service specification Abductive triple ε : abducible signatures (events H and expectations E ws ) Web service Knowledge Base: logic program with expectations in clause bodies Web service Integrity Constraints: implications relating events and expectations

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 9 Conformance Our idea of conformance: a web service will comply to a choreography,provided that its peers comply too. Feeble conformance: all expected events happen. Strong conformance: all happened events are expected.

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 10 Possible interaction A pair (HAP, EXP) that, together with the KB, entails the following: – a Goal (usually defines a needed event) – The integrity constraints – The web service being discussed follows its own expectations about itself – The other peers follow the choreography expectations about themselves

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 11 Feeble conformance A possible history HAP is feeble conformant if there exists EXP that, together with joined KBs, entails: - A goal - The integrity constraints (IC chor U IC ws ) - E ws (X) H(X) - E chor (X) H(X) - is a feeble conformant interaction if EXP is minimal w.r.t set inclusion - A web service is feeble conformant if all the possible histories are feeble conformant

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 12 Strong conformance A feeble conformant interaction is also strong conformant if it entails the following: H(m x (ws,R,C)) E chor (m x (ws,R,C)) H(m x (S,ws,C)) E ws (m x (S,ws,C)) A web service is strong conformant if all possible histories are strong conformant.

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 13 The SCIFF abductive proof procedure Derived from Fung and Kowalskis IFF – Originally applied to compliance verification in MAS Properties: – Termination for acyclic programs – Soundness – Completeness Generative version: g-SCIFF (events are abducible) – Applied to verification of protocol properties

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 14 Conformance verification g-SCIFF SCIFF /\ Feeble Conformance Possible Interaction HAP,EXP Is HAP feeble conformant? Strong Conformance Are all events expected?

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 15 Example: more capabilities Choreography – H(m 1 (ws,X,C))E chor (m 2 (X,ws,D)) Web service – H(m 1 (ws,X,C)) E ws (m 2 (X,ws,D)) \/ E ws (m 3 (X,ws,D)) Result: feeble and strong conformant

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 16 Example: Missing Capability Choreography – H(m 1 (ws,X,C)) E chor (m 2 (X,ws,D)) \/ E chor (m 3 (X,ws,D)) Web service – H(m 1 (ws,X,C)) E ws (m 2 (X,ws,D)) Result: not feeble conformant Counterexample: HAP = {H(m 1 (ws,a,c)),H(m 3 (a,ws,d))}

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 17 Example: Wrong reply Choreography – H(m 1 (X,ws,C)) E ws (m 2 (ws,X,D)) \/ E ws (m 3 (ws,X,D)) Web service – H(m 1 (X,ws,C)) E chor (m 2 (ws,X,D)) Result: non conformant Counterexample HAP = {H(m 1 (a,ws,c)),H(m 3 (ws,a,d))}

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 18 Example: Predefined answer Choreography – H(m 1 (X,ws,C)) E chor (m 2 (ws,X,D)) \/ E chor (m 3 (ws,X,D)) Web service – H(m 1 (X,ws,C)) E ws (m 2 (ws,X,D)) Result: feeble and strong conformant

CILC'06, Bari, 27 giugno 2006 A-Priori Verification of Web Services with Abduction 19 Ongoing work Is a uniform language good w.r.t expressiveness? Automatic translation from graphical notations Experimentation and (performance) comparison with other frameworks

A-Priori Verification of Web Services with Abduction Marco Alberti 1 Federico Chesani 2 Marco Gavanelli 1 Evelina Lamma 1 Paola Mello 2 Marco Montali 2 1 ENDIF, Università di Ferrara 2 DEIS, Università di Bologna