Uploaded by greenford walter katuruza

Web Service Architecture Web Services Tutorial by Wideskills

advertisement
Web Service Architecture | Web Services Tutorial by Wideskills
1 of 5

Technology
Web Services Tutorial
https://www.wideskills.com/web-services/web-service-architecture
  
02 - Web Service Architecture
Search...
C
H
A
P
T
E
R
S
 Login
Home

Articles
02 - Web Service Architecture
 TOC
O
T
H
E
R
S
U
B
J
E
C
T
S
 01 - Web Service Basics
03 - Major Technologies in Web Services 
Creating a web service is not dependent on any programming language, meaning that you
could use any language or tool for creating a web service. But there are some components
that are common to all web services. We will review these common components in the
following section.
Roles in Web Services
We can identify the following roles in any Web Service:
A service Provider: this is who provides the web service; it is responsible for implementing
the service and making it available over a network.
A service Requestor: this is who consumes the web service. It is responsible for connecting
to the web service by means of a network connection and sending appropriate XML
requests.
A Service Registry: this is a centralized directory of services; it provides a central place to
allow developers to publish new services and to find a previously existing service so they
could use it.
Web Services Protocol Stack
Any web service currently has at least four layers, a service transportation layer, a
messaging layer, a service description layer and a service discovery layer.
9/11/2021, 3:37 PM
Web Service Architecture | Web Services Tutorial by Wideskills
2 of 5

Technology
Web Services Tutorial
https://www.wideskills.com/web-services/web-service-architecture
02 - Web Service Architecture
  
 Login
C
H
A
P
T
E
R
S
O
T
H
E
R
S
U
B
J
E
C
T
S
The service transport layer: it is responsible for the transportation of any given message
between the involved applications. Many of the current web services use HTTP (HyperText
Trasfer Protocol) as the transport protocol, but there are many mores that could be used.
For instance you could use SMTP (Simple Mail Transfer Protocol), FTP (File Transfer
Protocol) among others.
The messaging layer: it is responsible for the encoding of messages using common XML
(eXtensible Markup Language). This format allows creating messages that can be
understood at both ends, so much as the Requestor side or as the Provider site. We will be
focusing on SOAP as the protocol for this layer.
9/11/2021, 3:37 PM
Web Service Architecture | Web Services Tutorial by Wideskills
3 of 5
https://www.wideskills.com/web-services/web-service-architecture
service description layer: it is responsible for the description of the interface
 exposed
  Login
 The
by the web service. We will be focusing on WSDL (Web Service Description Layer).
Technology
C
H
A
P
T
E
R
S
O
T
H
E
R
S
U
B
J
E
C
T
S
Web Services Tutorial
02 - Web Service Architecture
The service discovery layer: it is responsible for the centralization of services in a common
registry and for providing simple publication functionality. This is mainly handled by UDDI
(Universal Description, Discovery and Integration).
Layers of a Web Service
Any web service has two main layers:
• Listener layer
• Business layer
These two layers within the internal structure of a Web service cooperate to allow different
applications to interoperate between each other.
The Listener Layer
This layer is the one that is exposed in a Web service and is closest to the client
application. In the web service process, when a client application stablishes a
communication with the Web service provider application, it is initialized by sending a
request to the listener layer of a Web service.
This layer interprets the request from the client application and allows the Web service
provider application to understand what was requested. Once it is received, the request is
forwarded to the next layer in the architecture.
In the response process, once the request for the data is processed, the result is then
returned to the listener layer, this layer converts the response data into a form that the
client can understand.
The Business Layer
This layer implements the business logic of the web service, like verifying a subscriber
available credit, or checking what catalog is available for a subscriber.
Husqvarna Zimbabwe
Handle The Task Effortlessly
SEE MORE
 TOC
 01 - Web Service Basics
03 - Major Technologies in Web Services 
9/11/2021, 3:37 PM
Web Service Architecture | Web Services Tutorial by Wideskills
4 of 5

Technology
https://www.wideskills.com/web-services/web-service-architecture
Global Trade Starts Here
Web Services Alibaba.com
Tutorial
02 - Web Service Architecture
  
 Login
C
H
A
P
T
E
Computer Components Set…
R
S
$719
Visit Site
Like us on Facebook
O
T
H
E
R
Wideskills
868 likes
Like Page
S
U
B
J
E
C
T
S
Contact Us
Terms and Conditions
Disclaimer
Trademarks
Privacy Policy
9/11/2021, 3:37 PM
Web Service Architecture | Web Services Tutorial by Wideskills
5 of 5

Technology
https://www.wideskills.com/web-services/web-service-architecture
Copyrights @2015, All rights
reserved by wideskills.com
02 - Web Service Architecture
Web Services Tutorial
  
 Login
C
H
A
P
T
E
R
S
O
T
H
E
R
S
U
B
J
E
C
T
S
9/11/2021, 3:37 PM
Download