| Sr. No. | SOAP(Simple object access protocol) | REST(Representational State Transfer) |
| 1 | Soap is protocol | REST is architectural style |
| 2 | Function driven. | Data driven. |
| To login, add/delete data we have different services | Login add/delete can be done in single service | |
| 3 | Use WSDL(Web Service Description Language) as contract. | WADL(Web Application Description Language) |
| 4 | Stateful. | Stateless. |
| Server maintenance the state of every client request as apart of session. | Server does not maintain the state of every client request.State is transferred by client to server as part of every request. | |
| 5 | Heavy weight. As depends on XML markup | Light weight. |
| 6 | Supports different web protocols like HTTP,TCP,SMTP | Support only HTTP |
| 7 | Support only XML format | Support XML,JSON,TEXT,YAML formats |
| 8 | Distributed.Communication through multiple endpoints. | Point to point communication. |
| 9 | SOAP has successful/retry logic built in | clients to deal with communication failures by retrying |
| 10 | Strongly typed language. | Not strongly typed. |
Saturday, 27 December 2014
SOAP_VS_REST
Subscribe to:
Comments (Atom)