

In addition to Chatter feeds, users, groups, and followers, Chatter REST API provides programmatic access to files, recommendations, topics, notifications, purchasing, and more.Ĭhatter REST API is similar to APIs offered by other companies with feeds, such as Facebook and Twitter, but it also exposes Salesforce features beyond Chatter. When to Use Chatter REST API => Use Chatter REST API to display Salesforce data, especially in mobile applications. Use SOAP API in any language that supports web services.įor example, you can use SOAP API to integrate Salesforce with your org’s ERP and finance systems. You can also use SOAP API to perform searches and much more. When to Use SOAP API => You can use SOAP API to create, retrieve, update, or delete records. When to Use REST API => Its advantages include ease of integration and development, and it’s an excellent choice of technology for use with mobile applications and web projects. REST permits different data format such as Plain text, HTML, XML, JSON etc. RESTful web services inherits security measures from the underlying transport. REST requires less bandwidth and resource than SOAP. SOAP requires more bandwidth and resource than REST. REST does not define too much standards like SOAP. SOAP defines standards to be strictly followed. JAX-RS is the java API for RESTful web services. JAX-WS is the java API for SOAP web services. SOAP uses services interfaces to expose the business logic.

REST can use SOAP web services because it is a concept and can use any protocol like HTTP, SOAP. SOAP can't use REST because it is a protocol. REST stands for REpresentational State Transfer. SOAP stands for Simple Object Access Protocol.

The important 10 differences between SOAP and REST are given below: No. There are many differences between SOAP and REST web services.
