Here we assume that readers already have basic knowledge for these two technology.
The differences are:
- SOAP is a protocol over HTTP. REST just directly uses HTTP operations.
- SOAP is a protocol. It's a standard, thus all the SOAP services follow this standard/protocol. REST is not a protocol. Instead, REST is an architecture. Therefore, REST services may have large varieties.
- REST is a light-weight web service. It does not have service description and discovery mechanism like SOAP does. (SOAP has WSDL for service description and UDDI for service discovery.
Some quick summary for REST web services:
REST is REpresentational Stateful Transfer service. It refers each object with a URL and uses HTTP operations to manipulate the object. "Post" operation is used for creating the object. "Put" is used to update the object. "Get" is for retrieving the object and "Delete" is for deleting the object.