Affiliate Marketing
Pls Subscribe this channel Subscribe ® Registered teknosys.in
| SOAP | REST |
| Supports XML only | supports text,json and XML |
| Supports SMTP and HTTP all protocols | supports HTTP only |
| Secure as it supports WS-Security | as long a it is on wire , secure once delivered not secure |
| Supports ACID and 2phase commit for long lived txns | no txn support ACID or two phase commit |
There are many differences between SOAP and REST web services. The important 10 differences between SOAP and REST are given below:
REST(REpresentational State Transfer)
REST is an architectural style. It doesn’t define so many standards like SOAP. REST is for are exposing a public API over the internet to handle CRUD operations on data. REST is focused on accessing named resources through a single consistent interface.
SOAP(Simple Object Access Protocol)
SOAP brings it’s own protocol and focuses on exposing pieces of application logic (not data) as services. SOAP exposes operations. SOAP is focused on accessing named operations, each implement some business logic through different interfaces.
Why Rest?
Why SOAP?
|
Comments