Professional Documents
Culture Documents
SERVICES
Web Services
indigoo.com
Peter R. Egli
INDIGOO.COM
1/14
Rev. 1.90
Web Services
indigoo.com
Contents
1.
2.
3.
4.
5.
6.
7.
2/14
Rev. 1.90
indigoo.com
Web Services
1. What is a web service?
Definition by W3C (see http://www.w3.org/TR/2004/NOTE-ws-gloss-20040211/):
Network
Web service client
HTTP or
other
message based
transport
Machine processable
interfaces
3/14
Rev. 1.90
indigoo.com
Web Services
2. What is Service Oriented Architecture (SOA)?
Application
Application
Application
Infrastructure
Infrastructure
Infrastructure
Network
Application
Application
Application
Infrastructure
(services)
Network
4/14
Rev. 1.90
indigoo.com
Web Services
3. What is a service?
Web
Service
Client
Web
Service
Service
Client
Web
Service
Service
Client
Web
Service
Service
Client
Web
Service
Service
Client
Web
Service
5/14
Rev. 1.90
Web Services
indigoo.com
2. Scope information:
The scope information defines the data context to which the request method is applied.
6/14
Rev. 1.90
Web Services
indigoo.com
7/14
Rev. 1.90
Web Services
indigoo.com
8/14
Rev. 1.90
indigoo.com
Web Services
6. Web service architectures (1/4)
Web intermediaries:
Web intermediaries are placed between web service client and web service provider.
They intercept messages (requests and responses), perform some function and forward the
request to the destination.
Service
consumer
Intermediary
Intermediary
Service
provider
Intermediaries perform typical functions that are shared in different web service architectures.
A. Authentication services:
The service client authenticates with the authentication service on an intermediary and
receives a security token for use in the subsequent secured session with the service provider.
Authenticated communication
Authentication
Service
consumer
Service
provider
Intermediary
Security tokens
AA(A) (see WS-Security / WS-Trust)
9/14
Rev. 1.90
indigoo.com
Web Services
6. Web service architectures (2/4)
B. Auditing services:
An auditing intermediary logs the entire activity between a service client and provider (e.g. for
debugging purposes or to satisfy regulatory requirements).
Service
consumer
Service
provider
Intermediary
Log
C. Management services:
A management intermediary is used to collect statistical information about the service usage
and service health, maybe based on data from an auditing service.
The management intermediary may be connected to and integrated into an IT management
network for service monitoring and management purposes (e.g. for guaranteeing the required
web service quality of service).
Service
consumer
Log
Service
provider
Intermediary
IT management
system
10/14
Rev. 1.90
indigoo.com
Web Services
6. Web service architectures (3/4)
Intermediary
Service
provider
Cache
Store-and-forward intermediaries:
Message queueing service for offloading the service provider, i.e. to control the
load or also do load balancing. Such intermediaries may also be used to forward a
request to a version-compatible service (see below, versioning of web services).
Service
provider
Service
consumer
Intermediary
Service
provider
11/14
Rev. 1.90
indigoo.com
Web Services
6. Web service architectures (4/4)
Intermediary
Service
provider
2
Service
provider
3
12/14
Rev. 1.90
Web Services
indigoo.com
13/14
Rev. 1.90
indigoo.com
Web Services
7. Web service versioning (2/2)
Solution 2 (2/2):
The version must be present in the SOAP message, either as:
a. XML-namespace in the SOAP-envelope:
Service
provider
V2.0
Service
consumer
V1.1
Service
provider
V1.1
Service
consumer
V1.0
Peter R. Egli 2015
Intermediary
Service
provider
V1.0
14/14
Rev. 1.90