0% found this document useful (0 votes)
13 views15 pages

Group2 WebServices

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 15

In the end of this lesson on Web Services, you will be able to:

• Define the Concept of Web Services

• Identify Key Features and Components


Web services are the types of internet software that uses
standardized messaging protocol over the distributed
environment.

• Web services are designed for application to application interaction.


• It should be interoperable.
• It should allow communication over the network.
• Web services are used for reusing the
code and connecting the existing
program.

• Web services can be used to link data


between two different platforms.

• It provides interoperability between


disparate applications.
input
REQUEST

RESPONSE
output

There are two popular formats for request and response


XML and JSON.
XML Format: XML is the popular JSON Format: JSON is a readable
form as request and response in web format for structuring data. It is used
services. Consider the following for transiting data between server
XML code: and web application.

<getDetail> [
<id>DataStructureCourse</id> "employee":
{
</getDetail> "id": 00987
"name": "Jack",
"salary": 20000,
}
]
RESTful Web Services SOAP Web Services
• REST defines an architectural approach
REST stands for REpresentational whereas SOAP poses a restriction on the
format of the XML. XML transfer data
State Transfer. It is developed between the service provider and service
by Roy Thomas Fielding who also consumer. Remember that SOAP and
developed HTTP. The main goal of REST are not comparable.
RESTful web services is to make • SOAP: SOAP acronym for Simple Object
web services more effective. Access Protocol. It defines the standard
RESTful web services try to define XML format. It also defines the way of
services using the different concepts building web services. We use Web
Service Definition Language (WSDL) to
that are already present in HTTP. define the format of request XML and the
REST is an architectural approach, response XML.
not a protocol.
Web Service Description Language
(WSDL)

WSDL acronym for Web Service Description Language. WSDL is an


XML based interface description language. It is used for describing the
functionality offered by a web service. Sometimes it is also known as
the WSDL file. The extension of the WSDL file is .wsdl. It provides
the machine-readable description of how the service can be called,
what parameter it expects, and what data structure it returns.
Elements of WSDL
Universal Description, Discovery, and
Integration ( UDDI )

UDDI acronym for Universal Description, Discovery, and Integration. It is an


XML-based registry for businesses word wide to list themselves on the internet.
It defines a set of services supporting the description and discovery of the
business, organizations, or other web service providers. The UDDI makes the
services available and the technical interfaces which may be used to access those
services.
A UDDI works in the following manner:

• A service provider registers its business with the UDDI registry.


• A service provider registers each service separately with the UDDI
registry.
• The consumer looks up the business and service in the UDDI
registry.
• The consumer binds the service with the service provider and uses
the service.
The UDDI business registry system has three
directories are as follows:
•White Pages: The white pages contain basic information such as
company name, address, phone number, and other business identifiers
such as tax numbers.

•Yellow Pages: The yellow pages contain detailed business data


organized by relevant business classification. The version of the
yellow page classifies business according to the newer NAICS (North
American Industry Classification System).

•Green Pages: The green pages contain information about the


company's crucial business process, such as operating platform,
supported programs, and other high-level business protocols.
In conclusion, web services play a crucial role in facilitating
seamless communication and data exchange between different
applications. Their features, types, and components contribute to their
interoperability, scalability, and reusability, making them an essential
technology in modern software development. The use of standardized
protocols ensures that web services can be widely adopted and
integrated into diverse environments.

You might also like