What is the difference between rest, restful and soap based webservices? Are there any other types of webservices?
Please explain the differences to me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Difference between REST and RESTful has already been discussed here.
Regarding the difference between SOAP and REST there are many resources if you Google for this, how ever to give a fairly shortened answer;
REST is focused on accessing named resources through a single consistent interface, while SOAP is mostly about accessing named operations, each implement some business logic through different interfaces.
The main tangible difference of SOAP is that it has its own XML based infoset (protocol), which is used to carry application level quality of service (QoS) enforcements etc in a standard manner. SOAP Web services in general has a WSDL describing the interface and are discoverable. In the case of REST most of the time it leverage the transport level QoS like TLS (best example is the use of HTTPS to achieve Security) etc.
I am sure there are more deep explanations, but I tried to give a simple differentiation to SOAP vs REST.