SOA and XML Modeling
SOA and XML Modeling
1.Introduction to SOA
HTML Client
CO7214
Service--Oriented Architectures
Service
HTTP request
Data Base
Server
query/
update
Internet
HTTP response
1. Introduction to SOA
result
HTML
Reiko Heckel
client
client--server architecture
HTTP/HTML
HTTP/HTML--based communication and GUI
complex operations on data
2
Web Services
HTML Client
Data Base
Server
1. Introduction to SOA
Web Services: Motivation and Concepts
Application Scenario
Service
Service--Oriented Architectures
Web Services: Definition and Standards
query /
update
HTTP request
Internet
HTTP response
HTML
web applications
as business
components
communication via
HTTP/XML
result
HTTP request / response
XML
dynamic discovery
and binding to 3rd
party services
Web Service
3
Motivation
Problems
Benefits
Simplicity: HTTP request and response
Ubiquity: everywhere, everytime, on every device
available (at least in theory)
Uniformity: based on standards (HTTP, HTML,
XML)
5
CO7210: SOA
1.Introduction to SOA
Solutions
Solutions (cont.)
Separation of Concerns
means of communication
between distributed developers
team members with different roles and background
over time: as precise documentation (distribution over
time)
XML Standards
platform-independent high
platformhigh--level languages for
communication, coordination, specification, binding,
security, of services
meta language to define and extend languages
Application Scenario:
Online Shopping with Max
Model transformation
PSM
PSM
Mapping of platformplatform-
independent models to
implementation
(via platformplatform-specific
models - PSM)
Model transformation
Implementation
Implementation
9
But,
How do SparkassePB and Amazon.com know Bank24?
Bank24?
How does myAgent know Buecher.de and Amazon.com?
Amazon.com?
<<component>>
static
myAgent:
ShoppingAgent
1a
1b
<<component>>
<<component>>
<<component>>
<<component>>
Bank24:
Bank
Buecher.de:
Online Shop
Amazon.com:
Online Shop
SparkassePB:
Bank
dynamic
Service
Service--oriented Architecture (SoA)
CO7210: SOA
1.Introduction to SOA
Service--Oriented Architecture
Service
Service Provider:
Discovery Service:
Service Requestor:
business requiring
services
application finding
and using services.
Service
Description
Discovery
Service
Query
Service
Requestor
Requirements
What do we need?
searchable
registry of
service
descriptions
providers publish
and requestors
obtain service
descriptions
Service
Provider
Request
today
syntax
PSM
(SOA-specific)
semantics
Publish
Bind and
Interact
PIM
Service
Description
Service
Explain transformations
PIM PSM
Response
PSM Implementation
Implementation
http://www-4.ibm.com/software/solutions/webservices/pdf/WSCA.pdf
<<component>>
<<component>>
:Client
:Shop
<<uses>>
BPEL4WS
Software Component:
UDDI
WSDL
[C. Szyperski,
Szyperski, Component Software: Beyond Object
Object--Oriented
Programming, AddisonAddison-Wesley, 1998]
SOAP
requestor.
HTTP, SMTP,
Source: Web Services Conceptual Architecture
http://www-4.ibm.com/software/solutions/webservices/pdf/WSCA.pdf
1.