Question1Replies4006Views Developer85 Member since 2014 31 posts Virtusa Inc Posted: 1 year agoLast activity: 1 year 11 months ago Closed Solved Difference between SOAP and REST, and which is best ?hi, upon comparing SOAP and REST which is preferable over other and why ?thanks in advance. Low-Code App Development Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Accepted Solution Posted: 1 year agoSwathiR1 Aaseya IT services Pvt. Ltd. replied to Developer85Rest is preferred over soap because REST can use JSON,XML or HTML as messaging formats to transfer the data,while soap can use only XML REST use only URI to expose the service to outside world,where SOAP needs to expose the service interfaces When SOAP HTTP as transport layer,it can use only POST method,while REST can use all 4 HTTP methods like GET,POST,PUT,DELETE. REST is quicker than soap Advantae of SOAP over REST is SOAP is more secured than REST and can use HTTP,SMTP and other transport protocols,where as REST depends on HTTP protocol alone.