| SOAP is a protocol through which two computer communicates by sharing XML document. |
Rest is a service architecture and design for network-based software architectures. |
| SOAP permits only XML |
REST supports many different data formats |
| SOAP based reads cannot be cached |
REST reads can be cached |
| SOAP is like custom desktop application, closely connected to the server |
A REST client is more like a browser; it knows how to standardized methods and an application has to fit inside it |
| SOAP is slower than REST |
REST is faster than SOAP |
| It runs on HTTP but envelopes the message |
It uses the HTTP headers to hold meta information |