0% found this document useful (0 votes)
43 views13 pages

Holiday HW of Computer

Uploaded by

pragatisingh8972
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views13 pages

Holiday HW of Computer

Uploaded by

pragatisingh8972
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Delhi Public School Aligarh

COMPUTER HOLIDAY HOMEWORK

TOPIC-: ALL THE PROTOCOLS USED IN WEB SERVICES.

BY-: PRAGATI SINGH


CLASS/SEC-: X-C
ROLL NO.-: 27
WHAT IS PROTOCOL?
 A protocol is a standard set
of rules that allow electronic
devices to communicate
with each other. These rules
include what type
of data may be transmitted,
what commands are used to
send and receive data, and
how data transfers are
confirmed.
WHAT ARE WEB SERVICES?

 Web services are a type of internet software that


use standardized messaging protocols and are
made available from an application service
provider's web server for use by a client or other
web-based programs.

 Web services can range from major services


such as storage management or customer
relationship management (CRM) down to much
more limited services such as the furnishing of a
stock quote or the checking of bids for an
auction item. The term is sometimes also
referred to as application services.
 Users can access some web services through
a peer-to-peer arrangement rather than by going to
a central server. Some services can communicate
with other services. This exchange of procedures
and data is generally enabled by a class of software
known as middleware.

 The evolution of web services occurred as all major


platforms were able to access the internet, but
different platforms could not interact with each
other. Web services were able to take platforms to
the next level by publishing functions, message,
programs or objects to the rest of the internet.
Types of web services

1. SOAP web services


2. RESTful web services

SOAP:
SOAP is known as a transport-independent messaging
protocol. SOAP is based on transferring XML data as SOAP
messages. Each message has something which is known as
an XML document. Only the structure of the XML document
follows a specific pattern, but not the content. The best part
of Web services and SOAP is that its all sent via HTTP, which
is the standard web protocol.
Restful: A RESTFUL API is an architectural style for
an application interface (API) that uses http
requests to access and use data. It is not a
programming language. REST defines a set of
architectural principles by which you can design
web services that focus on a system’s resources ,
including how resource states are addressed and
transformed over HTTP by a wide range of clients
written in different languages.
SOAP REST

SOAP is a Protocol. Rest is an architectural style.


SOAP stands for Simple Object REST stands for
Access Protocol. Representational State
Transfer.
.SOAP can’t use REST because REST can use SOAP web
it is a protocol. services because it is a
concept and can use any
protocol like HTTP, SOAP.
JAX-WS is the java API for SOAP JAX-RS is the java API for
web services. RESTful web services.
SOAP permits XML data format REST permits different data
only. format such as Plain text,
HTML, XML, JSON etc.
SOAP uses services interfaces REST uses URI to expose
to expose the business logic. business logic.
SOAP is less preferred than REST more preferred than
REST. SOAP.
How does web services
work?
Below is the explanation for how does it
work:
Web-Service functions as a request-response pattern that
empowers communication among different applications
by utilizing open gauges, for instance, HTML, XML, WSDL,
and SOAP.
 An element will request some support of its partner to be
a specific specialist service provider. Upon demand, the
specialist co-op will react with a reaction message. So,
there are two messages included one Request message
(XML)and one Response message (XML). We can
manufacture a Java-put together web administration with
respect to Solaris that is open from your Visual Basic
program that sudden spikes in demand for Windows.
 An administration utilizes XML to label information, SOAP
to move a message lastly, WSDL to depict the
accessibility of administrations.
Features of web services
 Interoperability: Interoperability is the capacity for two
distinct executions of web services to communicate with each
other. Interoperability is maybe the most basic component, for,
without it, correspondence is unimaginable. Interoperability
necessities regularly exist at all layers of the convention stack,
from the correspondence convention and information encoding
utilized, to higher-layer application semantics, for example,
exchange and security settings.

 Loosely Coupled: The web service interface can change after


some time without trading off the customer’s capacity to
connect with the administration.

 Supports Exchange of Documents: Web services support


the straightforward trade of records to encourage business
coordination.
 Reliable Messaging: Because of this, applications utilizing
web benefits over the Internet will regularly need to utilize a
dependable nonconcurrent informing convention as
opposed to an RPC style convention. This takes into
consideration the development of approximately coupled
applications that are stronger to impermanent
disappointments of the individual administrations that form
the application.

 Supports File Alternate: One of XML’s key advantages is


its standard method for speaking to now not easiest
certainties, anyway likewise confounded records. Those
records might be as straightforward as speaking to a
present adapt to, or they can be as mind-boggling as
speaking to an entire eBook or Request for citation (RFQ).
Net contributions help the straightforward exchange of
records to encourage business joining.
Web series architecture
1. Service Provider: This is the
provider of the web service.
The service provider
implements the service and
makes it available on the
internet.
2. Service Requestor: This is
any consumer of the web
service. The requestor
utilizes an existing web
service by opening a network
connection and sending an
XML request.
3. Service Registry: This is a
logically centralized directory
of services. The registry
provides a central place
where developers can publish
new services or find existing
ones. It therefore serves as a
conclusion
Use RESTful web service is very easy and it helps
us to do our task in a systematic manner by
providing Confidentiality, Integrity and availability.
SR-Education Solution is a Web based Application
which is like ERP (Enterprise Resources Planning)
that manages all the functionality of the university
via internet like student web portal, class time
scheduling and many more so that it reduces
manual work of the university and works it in
computerized way. In these days ERP systems are
very high in cost to maintain database so SR-
Education Solution will be available in very less
amount as compared to ERP system and it is highly
reliable and maintaining database on a less

You might also like