Semantic Web Services Overview
Semantic Web Services Overview
Tutorial
Michael Stollberg and Armin Haller
DERI – Digital Enterprise Research Institute
BREAK
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
PART I:
Introduction to Semantic Web
Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
The Vision
– 500 million users
– more than 3 billion pages
Static
WWW
URI, HTML, HTTP
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
The Vision
Serious Problems in
• information finding,
• information extracting,
• information representing,
• information interpreting and
• and information maintaining.
Static
WWW Semantic Web
URI, HTML, HTTP RDF, RDF(S), OWL
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
The Vision
Static
WWW Semantic Web
URI, HTML, HTTP RDF, RDF(S), OWL
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
The Vision
Bringing the web to its full potential
Static
WWW Semantic Web
URI, HTML, HTTP RDF, RDF(S), OWL
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
The Semantic Web
• the next generation of the WWW
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
Ontology Definition
commonly accepted
machine-readability
understanding
with computational
semantics
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
Ontology Example
name email
Concept
conceptual entity of the Person research
domain matr.-nr.
field
isA – hierarchy (taxonomy)
Property
Student Professor
attribte describing a
concept attends holds
Relation Lecture
Ontology Technology
To make the Semantic Web working we need:
• Ontology Languages:
– expressivity
– reasoning support
– web compliance
• Ontology Reasoning:
– large scale knowledge handling
– fault-tolerant
– stable & scalable inference machines
• and … Applications
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
Web Services
• loosely coupled, reusable components
• encapsulate discrete functionality
• distributed
• programmatically accessible over
standard internet protocols
• add new level of functionality on top of the
current web
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
WSDL
• Web Service Description Language
• W3C effort, WSDL 2 final construction phase
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
UDDI
• Universal Description, Discovery, and Integration Protocol
• OASIS driven standardization effort
Registry for
Web Services:
- provider
- service information
- technical access
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
SOAP
• Simple Object Access Protocol
• W3C Recommendation
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
Deficiencies of WS Technology
• current technologies allow usage of Web Services
• but:
– only syntactical information descriptions
– syntactic support for discovery, composition and execution
=> Web Service usability, usage, and integration needs to be
inspected manually
– no semantically marked up content / services
– no support for the Semantic Web
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
1
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
PART II:
The Web Service Modeling
Ontology WSMO
• Aims & Working Groups
• Design Principles
• Top Level Notions
– Ontologies
– Web Services
– Goals
– Mediators
• Comparison to OWL-S
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
WSMO is ..
• a conceptual model for Semantic Web Services:
– ontology of core elements for Semantic Web Services
– a formal description language (WSML)
– execution environment (WSMX)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
Non-Functional Properties
every WSMO elements is described by properties that
contain relevant, non-functional aspects
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
2
WSMO Ontologies
Objectives that a client wants to
achieve by using Web Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
Ontology Specification
• Non functional properties (see before)
• Imported Ontologies importing existing ontologies
where no heterogeneities arise
• Used mediators OO Mediators (ontology import with
terminology mismatch handling)
Ontology Elements:
Concepts set of concepts that belong to the ontology, incl.
Attributes set of attributes that belong to a concept
Relations define interrelations between several concepts
Functions special type of relation (unary range = return value)
Instances set of instances that belong to the represented ontology
Axioms axiomatic expressions in ontology (logical statement)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
client-service realization of
interaction interface functionality by
for consuming WS Web Service WS
aggregating
- External Visible Implementation other Web Services
WS
Behavior (not of interest in Web - functional
Service Description) decomposition
- Communication WS
Structure - WS composition
- ‘Grounding’
Choreography --- Service Interfaces --- Orchestration
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
Capability Specification
• Non functional properties
• Imported Ontologies
• Used mediators
– OO Mediator: importing ontologies with mismatch resolution
– WG Mediator: link to a Goal wherefore service is not usable a priori
• Pre-conditions
What a web service expects in order to be able to
provide its service. They define conditions over the input.
• Assumptions
Conditions on the state of the world that has to hold before
the Web Service can be executed
• Post-conditions
describes the result of the Web Service in relation to the input,
and conditions on it
• Effects
Conditions on the state of the world that hold after execution of the
Web Service (i.e. changes in the state of the world)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
Date, Time
Date
Hotel
Hotel Service
Time
Error
Flight, Hotel
VTA
Date, Time
Error Service
Confirmation Flight
Flight Service
Error
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
Choreography Aspects
Interface for consuming Web Service
• External Visible Behavior
– those aspects of the workflow of a Web Service where Interaction is
required
– described by workflow constructs: sequence, split, loop, parallel
• Communication Structure
– messages sent and received
– their order (communicative behavior for service consumption)
• Grounding
– executable communication technology for interaction
– choreography related errors (e.g. input wrong, message timeout, etc.)
• Formal Model
– reasoning on Web Service interfaces (service interoperability)
– allow mediation support on Web Service interfaces
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
Orchestration Aspects
Control Structure for aggregation of other Web Services
Web Service Business Logic
State in Orchestration
Control Flow
1
WS Data Flow
Service Interaction
3
- decomposition of
4 WS service functionality
- all service interaction via
choreographies
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
3
• further characteristics:
– not restricted to any specific communication technology
– ontology reasoning for service interoperability determination
– basis for declarative mediation techniques on service interfaces
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
• States ω(Ω):
– a stable status in the information space
– defined by attribute values of ontology instances
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
received ontology
sent ontology
instance a
instance b
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
Future Directions
Choreography: Orchestration:
- interaction of services / service and client - how the functionality of a Web Service is achieved by
- a „choreography interface“ describes the behavior of a aggregating other Web Services
Web Service for client-service interaction for consuming - extends Choreography descriptions by control & data flow
the service constructs between orchestrating WS and orchestrated WSs.
Conceptual models
User language
- based on UML2 activity diagrams
- graphical Tool for Editing & Browsing Service Interface Description
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
WSMO Goals
Objectives that a client wants to
achieve by using Web Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
Goals
• Ontological De-coupling of Requester and Provider
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
Goal Specification
• Non functional properties
• Imported Ontologies
• Used mediators
– OO Mediators: importing ontologies with heterogeneity resolution
– GG Mediator:
• Goal definition by reusing an already existing goal
• allows definition of Goal Ontologies
• Requested Capability
– describes service functionality expected to resolve the objective
– defined as capability description from the requester perspective
• Requested Interface
– describes communication behaviour supported by the requester for
consuming a Web Service (Choreography)
– Restrictions / preferences on orchestrations of acceptable Web
Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
WSMO Mediators
Objectives that a client wants to
achieve by using Web Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
Mediation
• Heterogeneity …
– Mismatches on structural / semantic / conceptual / level
– Occur between different components that shall interoperate
– Especially in distributed & open environments like the Internet
• Concept of Mediation (Wiederhold, 94):
– Mediators as components that resolve mismatches
– Declarative Approach:
• Semantic description of resources
• ‘Intelligent’ mechanisms that resolve mismatches independent of content
– Mediation cannot be fully automated (integration decision)
• Levels of Mediation within Semantic Web Services (WSMF):
– Data Level: mediate heterogeneous Data Sources
– Protocol Level: mediate heterogeneous Communication Patterns
– Process Level: mediate heterogeneous Business Processes
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
4
Mediator Structure
Source WSMO Mediator
Component
uses a Mediation Service via 1 Target
1 .. n
Component
Source
Component
- as a Goal
- directly
- optionally incl. Mediation
Mediation
Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
OO Mediator - Example
Merging 2 ontologies
Discovery
Mediation
Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
GG Mediators
• Aim:
– Support specification of Goals by re-using existing Goals
– Allow definition of Goal Ontologies (collection of pre-defined Goals)
– Terminology mismatches handled by OO Mediators
postcondition:
“aTicket memberof trainticket”
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
WG & WW Mediators
• WG Mediators:
– link a Web Service to a Goal and resolve occurring mismatches
– match Web Service and Goals that do not match a priori
– handle terminology mismatches between Web Services and Goals
⇒ broader range of Goals solvable by a Web Service
• WW Mediators:
– enable interoperability of heterogeneous Web Services
⇒ support automated collaboration between Web Services
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
Comparison to OWL-S
•Capability specification
•General features of the Service
• Quality of Service
• Classification in Service
taxonomies
• Mapping to WSDL
• communication protocol (RPC, HTTP, …)
• Control flow of the service
• marshalling/serialization
•Black/Grey/Glass Box view
• transformation to and from XSD to OWL
• Protocol Specification
• Abstract Messages
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
Perspective
• OWL-S is an ontology and a language to describe Web services
– Strong relation to Web Services standards
• rather than proposing another WS standard, OWL-S aims at enriching
existing standards
• OWL-S is grounded in WSDL and it has been mapped into UDDI
– Based on the Semantic Web
• Ontologies provide conceptual framework to describe the domain of Web
services and an inference engine to reason about the domain
• Ontologies are essential elements of interoperation between Web services
• WSMO is a conceptual model for the core elements of Semantic
Web Services
– core elements: Ontologies, Web Services, Goals, Mediators
• language for semantic element description (WSML)
• reference implementation (WSMX)
– Mediation as a key element
– Ontologies as data model
• every resource description is based on ontologies
• every data element interchanged is an ontology instance
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
• Formal Model:
– OWL-S formal semantics has been developed in very different frameworks
such as Situation Calculus, Petri Nets, Pi-calculus
– WSMO service interface description model with ASM-based formal semantics
– OWL-S Process Model is extended by SWRL / FLOWS
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
5
Semantic Representation
• OWL-S and WSMO adopt a similar view on the need
of ontologies and explicit semantics but they rely on
different logics:
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
WSML Rule
OWL DL WSML DL
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
Summary
current Web Service
OWL-S WSMO technologies
Grounding
Invocation Grounding+
(WSDL / SOAP, WSDL / SOAP
How to invoke WSDL/SOAP
ontology-based)
Mediation
- Mediators -
Heterogeneity handling
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
PART III:
A Walkthru Example
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
Contract
Flight Service
Booking Provider
Customer provides
VTA uses &
aggregates
Customer
Hotel Service
Booking Provider
Contract
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
Goal Description
• “book flight and hotel for the ICWS 2005 for James”
• goal capability postcondition: get a trip reservation for this
goal _"[Link]
importsOntology {_"[Link] …}
capability
postcondition
definedBy
?tripReservation memberOf tr#reservation[
customer hasValue fof#james,
origin hasValue loc#innsbruck,
destination hasValue loc#orlando,
travel hasValue ?flight,
accommodation hasValue ?conferenceHotel
payment hasValue tr#creditcard
] and
?flight[airline hasValue tr#staralliance] memberOf tr#flight and
?hotel[name hasValue “Sheraton Safari Hotel”] memberOf tr#hotel .
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
assumption
definedBy
po#validCreditCard(?creditCard) and
(?creditCard[type hasValue po#visa] or ?creditCard[type hasValue po#mastercard]).
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
assumption
definedBy
reservationPrice(?reservation, "euro", ?tripPrice) and
?finalBalance= (?initialBalance - ?ticketPrice) and
?creditCard[po#balance hasValue ?finalBalance] .
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
Goal definition
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
• Aims:
– high precision discovery
– maximal automation
– effective discoverer architectures
• Requirements:
– infrastructure that allows storage and retrieval of
information about Web services
– description of Web services functionality
– description of requests or goals
– algorithms for matching requesters for capabilities with the
corresponding providers
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
6
Discovery Techniques
• different techniques available
– trade-off: ease-of-provision <-> accuracy
– resource descriptions & matchmaking algorithms
Controlled Vocabulary
ontology-based key word matching
Semantic Matchmaking
… what Semantic Web Services aim at
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
PlugIn Match:
G, WS, O, M ╞ ∀x. (G(x) => WS(x) )
Subsumption Match:
G, WS, O, M ╞ ∀x. (G(x) <= WS(x) )
Intersection Match: X
Non Match:
G, WS, O, M ╞ ¬∃x. (G(x) ∧ WS(x) )
Keller, U.; Lara, R.; Polleres, A. (Eds): WSMO Web Service Discovery. WSML Working Draft D5.1, 12 Nov 2004.
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
Discovery Approach
• Matchmaking Notion to be used defined for each goal
capability element
• Basic Procedure:
Goal Capability Web Service Capability
Plug-In
Precondition Precondition
valid pre-state?
Exact
no Assumption Assumption
yes
abort Intersection
Postconditio Postconditio
n n
valid post-state?
Exact
no Effect Effect
yes
abort
Match
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
Discoverer Architecture
• Discovery as central Semantic Web Services technology
Keyword-/ Classification-based
Filtering
retrieve Service
Descriptions efficient narrowing
Controlled Vocabulary of search space
Filtering (relevant services
Resource Repository to be inspected)
(UDDI or other)
Semantic
Matchmaking
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
Service Interfaces
VTA Capability
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
Choreography Discovery
VTA Capability
- both behavior interfaces given (“static”) - VTA Orchestration & Behavior Interfaces of
- correct & complete consumption of VTA aggregated WS given
=> existence of a valid choreography? => existence of a valid choreography between
VTA and each aggregated WS?
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
received ontology
sent ontology
instance a
instance b
evolving ontology instance store
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
Choreography Discovery
internal internal
business logic of business logic of
Web Service Web Service
(not of interest in Service (not of interest in Service
Interface Description) Interface Description)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
7
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
SIS1, SIS2, O, M ╞ ∃x. (ΩS1(in U shared)(x) ∧ ΩS2(out U shared)(x))
– more complex for multi-party choreographies
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
Communication Compatibility
• Definitions (for “binary choreography” (only 2 services), more complex for multi-party choreographies)
WW Mediators in Choreography
Choreography WW Mediator
internal internal
business logic of business logic of
Web Service Web Service
(not of interest in Service (not of interest in Service
Interface Description) Interface Description)
Orchestration
Control Structure for aggregation of other Web Services
Web Service Business Logic
State in Orchestration
Control Flow
1
WS Data Flow
Web Service Usage
3
- formally described service
2
functionality decomposition
- only those aspects of WS
4 WS
realization wherefore other
WS are aggregated
- aggregated WS used via
their behavior interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
• Orchestration Validation:
– need to ensure that interactions with aggregated Web
Service can be executed successfully
=> Choreography Discovery for all interaction of
Orchestrator with each aggregated Web Service
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
additional
requirements for
orchestration
service service
descriptions descriptions
available
service
functional functional invocation
features features
available available
non- service 1 ……… non- service n
functional functional
features features
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
Conclusions
• Semantic Web Service descriptions require
– expertise in ontology & logical modeling
=> tool support for users & developers under development
– understanding of Semantic Web Service technologies
• what it does, and how it works
• which are the related descriptive information
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
8
PART IV:
The Web Service Execution
Environment WSMX
• Aims & Design Principles
• WSMX Development Process and Releases
• Components and System Architecture
– Components
– Event-based Implementation
– System Entry Points
– Execution Semantics
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
WSMX Introduction
• Software framework for runtime binding of service
requesters and service providers
• WSMX interprets service requester’s goal to
– discover matching services
– select (if desired) the service that best fits
– provide data mediation (if required)
– make the service invocation
• is based on the conceptual model provided by WSMO
• has formal execution semantics
• SO and event-based architecture based on microkernel
design using technologies as J2EE, Hibernate, Spring,
JMX, etc.
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Design Principles
Strong Decoupling & Strong Mediation
autonomous components with mediators for interoperability
Peer to Peer
interaction between equal partners (in terms of control)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
2005 2006
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Selected Components
• Adapters
• Parser
• Invoker
• Choreography & Process Mediator
• Matchmaker
• Data Mediator
• Resource Manager
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Adapters
• to overcome data representation
mismatches on the communication layer
• transforms the format of a received
message into WSML compliant format
• based on mapping rules
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Parser
• WSML 1.0 compliant parser
– Code handed over to wsmo4j initiative
• Validates WSML description files
• Compiles WSML description into internal
memory model
• Stores WSML description persistently
(using Resource Manager)
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Invoker
• WSMX V0.1 used the SOAP implementation from
Apache AXIS
• Web Service interfaces were provided to WSMX as
WSDL
• Both RPC and Document style invocations possible
• Input parameters for the Web Services were translated
from WSML to XML using an additional XML Converter
component.
Network
SOAP
XML XML Web
Mediated Invoker
Apache
AXIS Service
WSML Data Converter
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
9
Matchmaker
• responsible for finding appropriate Web
Services to achieve a goal (discovery)
• currently the built-in matchmaking is
performed by simple string-based
matching; advanced semantic
discoverers in prototypical stage
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
OOMediator
• Ontology-to-ontology mediation
• A set of mapping rules are defined and then executed
• Initially rules are defined semi-automatic
• Create for each source instance the target instance(s)
Source Target
Ontology Ontology
Mapping Rules
Mapping Rules
Creator
Mappings
Mappings
Data Base
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Resource Manager
• Stores internal memory model to a data
store
• Decouples storage mechanism from the
rest of WSMX
• Data model is compliant to WSMO API
• Independent of any specific data store
implementation i.e. database and
storage mechanism
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Event-based Implementation
Core – Manager
events notifications
events notifications events notifications events notifications
Discovery
Wrapper
Choreography implements Data Mediator Communication
Wr apper Mediator Wr apper Manager Wrapper
Interface
Communication
Choreography Discovery Mediator
Manager
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Communication Data
Data Manager
Legend Service Matchmaker
Mediator (Provider Side)
Mediator
Repository
WSMX components
SOAP
External entities
Selector
Execution Flow
Service
Usage Provider
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Execution Semantics
WSMT – Web Services Modelling Toolkit
Request to discover WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Web services.
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Execution Semantics
WSMT – Web Services Modelling Toolkit
Goal expressed
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
in WSML is sent to
WSMX System
Service InterfaceWSMX Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Com. M. implements
Service WSMX
the interface to Administration Framework Interface
Service
Requesters receive WSML goals Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
10
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Chor. wrapper Service
Requesters picks up event for Providers
WSMX Manager Chor. component
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters New choreography Providers
WSMX Manager Instance is created
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Agent Interface
acting on
WSML Interface
goal is Interface Interface Interface Interface Interface Interface
Web
parsedResource
to Service 2
behalf of Communication Data Process
Parser Discovery Selector Choreography
service internal
Manager format.
Manager Mediator Mediator ...
requester Invoker Receiver Web
Service p
... Adapter n
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
11
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Execution Semantics
WSMT – Web Services Modelling Toolkit
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
Set of Web Service
descriptions
Service WSMX
expressed in WSML Administration Framework Interface
Service
Requesters sent to adapter. Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Execution Semantics
Set of Web Service
WSMT – Web Services Modelling Toolkit
descriptions expressed
in requester’s own
WSMX Managment WSMX Monitor WSML Editor Choreography Editor Mediator Editor
format returned to
goal requester.
Service WSMX
Administration Framework Interface
Service
Requesters Providers
WSMX Manager
Data and Communication Protocols Adapters
Adapter 1
System Interface
Grounding
Component
Wrapper
Resource Manager Interface Reasoner Interface
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Conclusions
• Conceptual model is WSMO (with some add-
ons)
• End to end functionality for executing SWS
• Has a formal execution semantics
• Real implementation
• Open source code base at SourceForge
• Event-driven component architecture
• Developers welcome
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
WSMX @ [Link]
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Closing, Outlook,
Acknowledgements
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Tutorial Wrap-up
• The targets of the presented tutorial were to:
– understand aims & challenges within Semantic Web Services
– understand Semantic Web Service Frameworks:
• aims, design principles, and paradigms
• ontology elements & description
=> you should now be able to correctly assess emerging technologies &
products for Semantic Web Services and utilize these for your future work
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Beyond WSMO
• Although WSMO (and OWL-S) are the main initiatives on
Semantic Web services, they are not the only ones:
• Semantic Web Services Interest Group
– Interest group founded at W3C to discuss issues related to
Semantic Web Services ([Link]
– Standardization Working Group in starting phase
• SWSI: International initiative to push toward a
standardization of SWS ([Link]
• Semantic Web services are entering the main stream
– UDDI is adopting OWL for semantic search
– WSDL 2 will contain a mapping to RDF
– The use of semantics is also discussed in the context of
standards for WS Policies
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005
12
Acknowledgements
The WSMO work is funded by the European
Commission under the projects DIP, Knowledge
Web, SEKT, SWWS, AKT and Esperonto; by
Science Foundation Ireland under the DERI-
Lion project; and by the Vienna city government
under the CoOperate program.
3rd Internation Conference on Web Services (ISWC 2005), Orlando, Florida (USA), July 2005