Difference between REST and SOAP

REST stands for Representational State Transfer. SOAP stands for Simple Object Access Protocol. Highlighting some key differences between them, which can be useful if you are facing any interview.

1). REST web services are lightweight and intrinsically faster.

2). REST has no WSDL interface definition and REST communicates over HTTP. However, SOAP can be over any transport protocols such HTTP, FTP, STMP, JMS etc.

3). SOAP uses soap envelope but REST is just XML.

Companies like Yahoo uses REST including Flickr; Most of the Google’s Web Services are based on SOAP. 

Mathematics, Technology and Programming are my passion. I am a part of Java Ecosystem and through this blog, I contribute to it. I am here to blog about my interests, views and experiences. I am on Google+ and Facebook. I feel proud to be listed as a "National Memory Record Holder" in the Limca Book of Records, 2009 and have attempted for an International Memory record in the Guiness Book of Records. I can remember the value of PI upto 10,000 digits after the decimal (3.1415.....). You can contact me on javagenious.com(At)gmal.com ; I would like to hear from you :)

Share This Post

Recent Articles

Powered by WordPress · Designed by Theme Junkie
You might also likeclose