|
SOAP
|
REST
|
|
Only XML format is allowed for data transfer.
|
Multiple format like Plain Text, XML, JSON HTML
|
|
Stateless by default, but it’s possible to make a SOAP API stateful.
|
Stateless (no server-side sessions).
|
|
While SOAP supports SSL (just like REST) it also supports WS-Security
which adds some enterprise security features.
|
Less Secure
|
|
Requires more bandwidth and computing power
|
Requires fewer resources.
|
No comments:
Post a Comment