Tuesday 19 November 2013

Difference between SOAP and REST

Difference between SOAP and REST
SOAP
- A service architecture
- XML based
- Runs on HTTP but envelopes the message
- Slower than REST
- Very mature, a lot of functionality
- Not suitable for browser-based clients
REST
- A service architecture (resource-oriented)
- Uses the HTTP headers to hold meta information
- Can be used with XML, JSON or whatever necessary
- Usually used with JSON due to the easily parsable content
- Faster than SOAP
- It uses semantic media types

0 comments: