WebServices by Anand
WebServices by Anand
By
Anand Kulkarni
[email protected]
What is a Web Service?
Web service is a standardized medium to propagate communication
between the client and server applications on the World Wide Web. A
web service is a software module that is designed to perform a certain
set of tasks.
1. The web services can be searched for over the network and can also
be invoked accordingly.
4) The data which is sent from the web service to the application is
called a SOAP message. The SOAP message is nothing but an XML
document. Since the document is written in XML, the client application
calling the web service can be written in any programming language.
Types of How Web Services
Client-Server communication using SOAP
What is SOAP?
1. SOAP is an XML-based protocol for accessing web services over
HTTP.
SOAP Body - It contains the actual data which needs to be sent between
the web service and the calling application.
SOAP Fault message – If SOAP response returns error then it will add
Fault message inside SOAP body.
SOAP Fault Message
WSDL (Web Service Description Language)
WSDL is an XML format for describing network services as a set of
endpoints operating on messages.
SOAP REST
SOAP uses service interfaces to REST uses Uniform Service
expose its functionality to locators to access to the
client applications components
SOAP needs more bandwidth REST needs less bandwidth
SOAP only works with XML REST work with plain text, XML,
formats HTML and JSON
SOAP vs REST
Sr.
No. Functionality SOAP based web services REST Service