Reasoning Tasks and Mediation on Choreography and Orchestration in WSMO Michael Stollberg WIW 2005, June 6-7, Innsbruck, Austria.

Slides:



Advertisements
Similar presentations
Web Service Modelling Ontology (WSMO)
Advertisements

1 University of Namur, Belgium PReCISE Research Center Using context to improve data semantic mediation in web services composition Michaël Mrissa (spokesman)
ISWC Doctoral Symposium Monday, 7 November 2005
1 Intention of slide set Inform WSMOLX of what is planned for Choreography & Orhestration in DIP CONTENTS Terminology Clarification / what will be described.
Reference Implementation WSMX Matthew Moran, (Emilia Cimpian, AdrianMocan, Eyal Oren, Michal Zaremba) Digital Enterprise Research Institute
OASIS Reference Model for Service Oriented Architecture 1.0
1 The Fourth Summer School on Ontological Engineering and the Semantic Web (SSSW'06) Semantic Web Services Hands-On Session with IRS-III and WSMO Studio.
Automated Collaboration on the Semantic Web Michael Stollberg DERI – Digital Enterprise Research Institute University of Innsbruck, Austria Doctoral Symposium.
Business Process Orchestration
1. 2 Carnegie Mellon University Katia Sycara Massimo Paolucci Michael Stollberg Matthew Moran Michal Zaremba Mick Kerrigan Emilia Cimpian Stefania Galizia.
Bridging the gap between Interaction- and Process-Oriented Choreographies Talk by Ivan Lanese Joint work with Claudio Guidi, Fabrizio Montesi and Gianluigi.
Semantic Web Fred Framework and Demonstration or ‘my PhD-Thesis in 30 min’ Michael Stollberg, 14-Dec-2004.
The WSMO / L / X Approach Michael Stollberg DERI – Digital Enterprise Research Institute Alternative Frameworks for Semantics in Web Services: Possibilities.
Semantic Web Services Tutorial
Kmi.open.ac.uk Semantic Execution Environments Service Engineering and Execution Barry Norton and Mick Kerrigan.
Web Service Architecture Part I- Overview and Models (based on W3C Working Group Note Frank.
1 Adapting BPEL4WS for the Semantic Web The Bottom-Up Approach to Web Service Interoperation Daniel J. Mandell and Sheila McIlraith Presented by Axel Polleres.
The Software Development Life Cycle: An Overview
Demonstrating WSMX: Least Cost Supply Management.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
1 WSMX Web Service Modeling Execution WSMO Deliverable 13 Emilia Cimpian, Adrian Mocan, Matthew Moran, Eyal Oren, Michal Zaremba 3 March 2004.
1 Web Service Choreography Interface (WSCI) 1.0 W3C Note 8 August Dumitru Roman.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Semantic Web Services Research, Standardization and Applications.
Agent Model for Interaction with Semantic Web Services Ivo Mihailovic.
Model-based Methods for Web Service Verification.
25./ Final DIP Review, Innsbruck, Austria1 D11.22 DIP Project Presentation V5 Oct 2006 Presented at Final Review Innsbruck, Oct, 2006.
Semantic Web Fred: Goal and Service Description Language Michael Stollberg - 05 June
Semantic Web Fred: Project Objectives & SWF Framework Michael Stollberg Reinhold Herzog Peter Zugmann - 07 April
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Semantic Web Services and User Goal definition problems Andrej.
10/18/20151 Business Process Management and Semantic Technologies B. Ramamurthy.
WSMX Execution Semantics Executable Software Specification Eyal Oren DERI
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
Using WSMX to Bind Requester & Provider at Runtime when Executing Semantic Web Services Matthew Moran, Michal Zaremba, Adrian Mocan, Christoph Bussler.
The Dynamic Discovery of Web Services Using WSMX Presented by Robert Zaremba.
Requirements as Usecases Capturing the REQUIREMENT ANALYSIS DESIGN IMPLEMENTATION TEST.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
The GOOD the BAD the UGLY WS-CDL: the GOOD the BAD the UGLY.
WSMO Discovery Realization in Semantic Web Fred Michael Stollberg - 03 November
95-843: Service Oriented Architecture 1 Master of Information System Management Service Oriented Architecture Lecture 7: BPEL Some notes selected from.
Christoph Bussler, Laurentiu Vasiliu Digital Enterprise Research Institute (DERI) National University of Ireland, Galway, Ireland SDK meeting.
15./ nd DIP Review, Walldorf, Germany1 Data, Information and Process Integration with Semantic Web Services IST Project Number : FP6 –
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Tutorial on the Web Services Modeling Ontology Organized for.
Introduction to Semantic Web Service Architecture ► The vision of the Semantic Web ► Ontologies as the basic building block ► Semantic Web Service Architecture.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
16/11/ Web Services Choreography Requirements Presenter: Emilia Cimpian, NUIG-DERI, 07April W3C Working Draft.
16/11/ Semantic Web Services Language Requirements Presenter: Emilia Cimpian
 Copyright 2006 Digital Enterprise Research Institute. All rights reserved. WSMO-PA: Formal Specification of Public Administration Service.
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
A Mediated Approach towards Web Service Choreography Michael Stollberg, Dumitru Roman, Juan Miguel Gomez DERI – Digital Enterprise Research Institute
Qusay H. Mahmoud CIS* CIS* Service-Oriented Computing Qusay H. Mahmoud, Ph.D.
Dr. Rebhi S. Baraka Advanced Topics in Information Technology (SICT 4310) Department of Computer Science Faculty of Information Technology.
1 Lecture 15: Chapter 19 Testing Object-Oriented Applications Slide Set to accompany Software Engineering: A Practitioner’s Approach, 7/e by Roger S. Pressman.
© Drexel University Software Engineering Research Group (SERG) 1 The OASIS SOA Reference Model Brian Mitchell.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Dynamic RosettaNet Integration on Semantic Web Services Tomas.
 Copyright 2006 Digital Enterprise Research Institute. All rights reserved. Dynamic B2B Integration on the Semantic Web Services: SWS Challenge.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Tomas Vitvar SemanticGov 4 rd Planetary.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. SOA-RM Overview and relation with SEE Adrian Mocan
SE 548 Process Modelling WEB SERVICE ORCHESTRATION AND COMPOSITION ÖZLEM BİLGİÇ.
Semantic Web Fred Automated Goal Resolution on the Semantic Web Michael Stollberg 38th Hawaiian International Conference on System Science Hawaii Big Island,
1 Seminar on SOA Seminar on Service Oriented Architecture BPEL Some notes selected from “Business Process Execution Language for Web Services” by Matjaz.
WWW: WSMO, WSML, and WSMX in a Nutshell Dumitru Roman 1, Jos de Bruijn 1, Adrian Mocan 1, Holger Lausen 1,2, John Domingue 3, Christoph Bussler 2, and.
Semantic Web Services Tutorial
Semantic Web Services Research, Standardization and Applications
Tomas Vitvar, Maciej Zaremba, Mathew Moran
Web Service Modeling Ontology (WSMO)
Object-Oriented Analysis
Chapter 24 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Chapter 19 Testing Object-Oriented Applications
Business Process Management and Semantic Technologies
Presentation transcript:

Reasoning Tasks and Mediation on Choreography and Orchestration in WSMO Michael Stollberg WIW 2005, June 6-7, Innsbruck, Austria

2 Content 1.Terminology Clarification 2.Choreography: Description, Choreography Discovery as Reasoning Task, and Mediation Requirements 3.Orchestration: Description and Choreography Discovery as Reasoning Task 4.Conclusions

3 What we are talking about Behavior Interface how entity can interact Requested Interface 1)send request 2)select from offer 3)receive confirmation Goal defines VTA VTA WS ‘Trip Booking’ Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Interface (Orch.) 1)flight request 2)hotel request 3)book flight 4)book hotel Flight WS Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Orch... Hotel WS Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Orch... provides Requested Capability book flight & hotel Choreography interaction between entities Orchestration service aggregation for realizing functionality Terminology Definitions from: Barros A.; Dumas, M.; Oaks, P.: Standards for Web Service Choreography and Orchestration: Status and Perspectives. Accepted for 1st International Workshop on Web Service Choreography and Orchestration for Business Process Management at the BPM 2005, Nancy, France, September 2005)

4 Main Idea “Choreography Discovery”: –given Web Services (Web Services and Goals) with their Behavior Interfaces and Orchestrations as “choreography participants” –does a choreography exists between the choreography participants (i.e. a ‘valid’ interaction protocol for service usage / realization)? What we need for this: –formal description model of Behavior Interface & Orchestration –“algorithm” for choreography discovery Motivation / Context: –central reasoning task on Web Service Interfaces –allows determining a priori whether the interactions needed to consume / execute Web Services will (or at least can) be successful –in conjunction with an ontology-based executable communication technology and “choreography mediation” this can realize the vision of Semantic Web Services / WSMO

5 In the example Requested Interface 1)send request 2)select from offer 3)receive confirmation Goal defines VTA VTA WS ‘Trip Booking’ Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Interface (Orch.) 1)flight request 2)hotel request 3)book flight 4)book hotel Flight WS Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Orch... Hotel WS Capability Interface (Chor.) 1)get request 2)provide offer 3)receive selection 4)send confirmation Orch... provides Requested Capability book flight & hotel - both behavior interfaces given (“static”) - correct & complete consumption of VTA => existence of a valid choreography? - VTA Orchestration & Behavior Interfaces of aggregated WS given => existence of a valid choreography between VTA and each aggregated WS? - Choreography Discovery as a central reasoning task in Service Interfaces - ‘choreographies’ do not have to be described, only existence determination => Questions: choreography discovery algorithm & support from WSMO model

6 WSMO Service Interface Description Model common formal model for Service Interface description –ontologies as data model –based on ASMs for representing dynamics –formal description as basis for reasoning and declarative mediation –not restricted to any executable communication technology general structure: –Vocabulary Ω: ontology schema(s) used in service interface description usage for information interchange: in, out, shared, controlled –States ω(Ω): a stable status in the information space defined by attribute values of ontology instances –Guarded Transition GT(ω): state transition general structure: if (condition) then (action) different for Choreography and Orchestration

7 defined evolving ontology instance store Service Interface Example Behavior Interface of a Web Service a memberOf A [ att1 hasValue x att2 hasValue y] a memberOf A [ att1 hasValue x, att2 hasValue y] b memberOf B [ att2 hasValue m] IF (a memberOf A [ att1 hasValue x ]) THEN (b memberOf B [ att2 hasValue m ]) State ω 1 Guarded Transition GT(ω 1 ) State ω 2 Vocabulary: - Concept A in Ω in - Concept B in Ω out received ontology instance a sent ontology instance b Ω in hasValues { concept A [ att1 ofType X att2 ofType Y] …} Ω out hasValues { concept B [ att1 ofType W att2 ofType Z] …}

8 What do we learn from this? a formal model as basis for reasoning and mediation on Service Interface definitions Descriptions from different perspectives: –Behavior Interface: subjective perspective –Choreography: global perspective of interaction –Orchestration: subjective perspective of ‘Orchestrator’ WSMO model is very basic: –implications on communication technology –implicit assumptions on Choreography and Orchestration –very rudimentary support for ‘process definitions’ –strong ontology support

9 internal business logic of Web Service (not of interest in Service Interface Description) Choreography Discovery internal business logic of Web Service (not of interest in Service Interface Description) a valid choreography exists if: –1) Information Compatibility compatible vocabulary homogeneous ontologies –2) Communication Compatibility start state for interaction a termination state can be reached without any additional input

10 Information Compatibility If choreography participants have compatible vocabulary definitions: –Ω in (S1) and Ω shared (S1) = Ω out (S2) and Ω shared (S2) –determinable by Intersection Match from Discovery SI S1, SI S2, O, M ╞  x. (Ω S1(in U shared) (x)  Ω S2(out U shared) (x)) – more complex for multi-party choreographies Prerequisite: choreography participants use homogeneous ontologies: –semanticInteroperability(S1, S2, …, Sn) –same ontologies in Service Interfaces, or usage of respective OO Mediators (technique not yet addressed in WSMO)

11 Communication Compatibility Definitions (for “binary choreography” (only 2 services), more complex for multi-party choreographies) Valid Choreography State: ω x (C(S1, S2)) if informationCompatibility (ω x (S1), ω x (S2)) –means: action in GT of S1 for reaching state ω x (S1) satisfies condition in GT of S2 for reaching state ω x (S2), or vice versa Start State: ω Ø (C(S1, S2)) if ΩS1(ω Ø )=Ø and ΩS2(ω Ø )=Ø and  ω 1 (C(S1, S2)) –means: if initial states for choreography participants given (empty ontology, i.e. no information interchange has happened), and there is a valid choreography state for commencing the interaction Termination State: ω T (C(S1, S2)) if ω T (S1)=noGT and ΩS2(ω T )=noGT and  ω T (C(S1, S2)) –means: there exist termination states for choreography participants (no action for transition to next state), and this is reachable by a sequence of valid choreography states Communication Compatibility given if there exists a start state and a termination state is reachable without additional input by a sequence of valid choreography states

12 Communication Compatibility Example Ω S1 (ωØ) = {Ø} Ω S1 (ω1) = {request(out)} Ω S1 (ω2a) = {offer(in), changeReq(out)} if Ø then request Ω S2 (ωØ) = {Ø} Ω S2 (ω1) = {request(in), offer(out)} if request then offer if cnd1(offer) then changeReq Ω S1 (ω2b) = {offer(in), order(out)} if cnd2(offer) then order Ω S2 (ω2a) = {changeReq(in),offer(out)} if changeReq then offer Ω S2 (ω2b) = {order(in), conf(out)} if order then conf Ω S1 (ω3) = {offer(in), conf(in)} A Buyer (e.g. Goal) A Seller (e.g. Service) Start ω2(C) ω1(C) ω3(C) ω4(C) Termination existence of a valid Choreography if conf then Ø

13 internal business logic of Web Service (not of interest in Service Interface Description) internal business logic of Web Service (not of interest in Service Interface Description) WW Mediators in Choreography if a choreography does not exist, then find to define an appropriate WW Mediator that –resolves possible mismatches to establish Information Compatibility (OO Mediator usage) –resolves process / protocol level mismatches to establish Communication Compatibility (corresponding to the approach for process mediation in WSMX) Choreography WW Mediator

14 Orchestration -formally described service functionality decomposition -only those aspects of WS realization wherefore other WS are aggregated -aggregated WS used via their behavior interface control structure for aggregation of other Web Services WS Web Service Business Logic WS State in Orchestration Control Flow Data Flow Web Service Usage

15 Orchestration Description & Validation Orchestration Description: –interaction behavior of “Orchestrator” with “orchestrated Web Services” –WSMO Service Interface description model, extension of Guarded Transitions Proposal therefore: –Guarded Transitions general structure: if condition then operation operation = (Orchestrator, Web Service, Action) –Orchestrator serves as client for aggregated Web Services Orchestration Validation: –need to ensure that aspired interactions with aggregated Web Service can be executed successfully =>Choreography Discovery for all interaction of Orchestrator with each aggregated Web Service

16 Orchestration Validation Example if Ø then (FWS, flightRequest)if request then offer if order then confirmation VTA Web Service Orchestration Start (VTA, FWS) Termination (VTA, FWS) if flightOffer then (HWS, hotelRequest) if selection then (FWS, flightBookingOrder) if selection, flightBookingConf then (HWS, hotelBookingOrder) Flight WS Behavior Interface if request then offer if order then confirmation Hotel WS Behavior Interface Start (VTA, HWS) Termination (VTA, HWS) Orchestration is valid if valid choreography exists for interactions between Orchestrator and each aggregated Web Service, done by choreography discovery

17 Conclusions Choreography Discovery as central reasoning task for WSMO Service Interfaces –a priori determination if interactions necessary to consume and execute Web Services –on basis of / supported by WSMO formal model for Service Interfaces –ontology-based reasoning as basic operation –clarification (proposal) for terminology and conceptual aspects Very early stage of work –No use case, no testing, no implementation –More complex scenarios not considered –Formal basis very rudimentary Open Issues: –language for WSMO Service Interface Description (under construction) –examination of related work & enhancements –“Choreography Discoverer” Implementation

18

19 Behavior Interface Aspects External Visible Behavior –those aspects of the workflow of a Web Service where interaction with the client is required for consuming –this is static (needs to be consumed correctly and completely) Communication Structure –messages / communicative acts sent and received –their order / process (communicative behavior for service consumption) –choreography related errors (e.g. input wrong, message timeout, etc.) Grounding –executable communication technology support Formal Model –reasoning on usability of Web Service / interoperability with clients Interface for Consuming a Web Service

20 Choreography Aspects Interaction Participants –the actual Web Services / Clients that are ought to interact –participation via their Behavior Interface Communication Structure –messages / communicative acts interchanged between partners –interaction process (when which interaction between whom) Grounding –not needed, as this is only a control facility –communication / interaction execution by participants Formal Model –not needed, as we only have to determine existence of a validity choreography –WS-CDL is a language for describing this (but not for Semantic Web Services) Global Interaction between two or more Web Services

21 Orchestration Aspects -formally described service functionality decomposition -only those aspects of WS realization wherefore other WS are aggregated -aggregated WS used via their behavior interface Control Structure for aggregation of other Web Services WS Web Service Business Logic WS State in Orchestration Control Flow Data Flow Web Service Usage