Wednesday, February 23, 2011

WebServices : REST vs SOAP

WebServices can be broadly classified into 2 types : REST based & SOAP based.

REST is an architectural style for building client-server applications.
SOAP is a protocol specification for exchanging data between two endpoints.



WS-* : Addressing, Security, Interoperability, Reliability etc

NOTE : Both the REST & SOAP have some pros & cons associated with them. So before prioritizing one over other do consider the suitability of the opted one in terms of speed, complexity & security.

My views : SOAP is highly secured and Security comes with price of slow speed (comparatively) & complexity.

No comments:

Post a Comment