Difference between Rest and Soap

Rest
Soap
Rest Stands For Representational State Protocol
Soap Stands for Simple Object Access Protocol
Rest Used for Light Weight Applications
Soap Used For Heavy Weight Applications
Rest Support Html,Json,Xml Format
Soap Only Support Xml Format
Rest Is More Preferred than Soap
Soap is Less Preferred than Rest
Rest requires Less Bandwidth
Soap Requires more bandwidth Compared to Rest
Transfer Using HTTP Only
Transfer Using Http,SMTP,FTp
Return Human Readable Format
Does not Return Human Readable Format
It is Light Weight so We use on Mobiles
If we had Large number of data we use SOAP


Comments

Popular posts from this blog

Community/Experience Cloud Interview Questions

Script to delete multiple records using Apex salesforce

Change Owner / Update record using Lightning Custom Button Salesforce