Types of Web Services | What is a Web Service??

How do web services work?
Web services use the request-response method to communicate among applications.
In the case of web services, medium is the internet and the common format is the XML format.
A client sends the request through a message which is in common XML format, and in response the service provider will respond with a message in the common xml format.
SOAP web services:
SOAP stands for Simple Object Access Protocol. It is an XML- based protocol for accessing web services.
It is platform-independent and language independent. Using SOAP, you will be able to interact with other programming language applications.
RESTful web services
( Representational State Transfer)
They are also language and platform-independent and are faster in compared to SOAP.
RESTful web services return data in JSON format or XML  format. They create the object and send the state of the object in response to the client’s requests, that’s why known as Representational State Transfer.

Leave a Reply