Web services can be classified as “Big” web services and “RESTful” web services.
Big web services:
* Uses XML messages that follow the Simple Object Access Protocol (SOAP) standard, an XML language defining a message architecture and message formats.
* Based on SOAP standard and often contain a WSDL to describe the interface that the web service offers. The details of the contract may include messages, operations, bindings, and the location of the web service.
* The SOAP message format and the WSDL interface definition language have gained widespread adoption in traditional enterprises.
SOAP based Web Services is a great solution when you need,
1. Asynchronous Processing.
3. Stateful operations.
RESTful web services:
* Our very own world wide web (www) – the largest distributed application – is based on an architectural style called REST – Representational State Transfer
. REST is neither a standard nor a protocol.
* According to Roy Fielding who coined the term (REST),
“Representational State Transfer is intended to evoke an image of how a well-designed Web application behaves: Presented with a network of web pages (a virtual state-machine), the user progresses through an application by selecting links (state transitions), resulting in the next page (representing the next state of the application) being transferred to the user and rendered for their use.”
* REST-style architecture follows this concept and consists of clients and servers
* based on HTTP protocol and its methods mainly PUT, GET, POST, and DELETE. These web services are better integrated with HTTP than SOAP-based services are, and as such do not require XML SOAP messages or WSDL service definitions.
For more info, you can go through the following link,
Shree M.Rapartipoorna, if this helps please login to Mark As Answer. | Alert Moderator