function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manimmanim 

Difference between chatter REST API and WSC

Following PDF explains about accessing Chatter data using Web Service Connector (WSC) :

http://www.salesforce.com/us/developer/docs/workbook_chatter/chatter.pdf

 

What is the difference between chatter REST API and WSC?

Thanks.

Best Answer chosen by Admin (Salesforce Developers) 
ChrisOctagonChrisOctagon

I think the WSC is used to access Chatter data as SObjects through the Force.com REST API. This API allows you to access Chatter data at a low level, similar to querying a database.

 

The Chatter REST API provides semantically rich constructs such as endpoints that provide a higher-level view of Chatter data. The Chatter REST API backend includes business logic code such that the objects it returns closely match those shown in the Chatter web UI.

 

The two APIs are suited towards different tasks.

All Answers

ChrisOctagonChrisOctagon

I think the WSC is used to access Chatter data as SObjects through the Force.com REST API. This API allows you to access Chatter data at a low level, similar to querying a database.

 

The Chatter REST API provides semantically rich constructs such as endpoints that provide a higher-level view of Chatter data. The Chatter REST API backend includes business logic code such that the objects it returns closely match those shown in the Chatter web UI.

 

The two APIs are suited towards different tasks.

This was selected as the best answer
Mark SFMark SF

The previous poster has a good definition of the Chatter REST API.

The Force.com Web Service Connector (WSC) is a high-performing Java Web services client stack implemented using a streaming parser. Think of it as an alternative to other Web services clients, such as Axis. WSC makes it much easier to use Force.com APIs, such as the Web services SOAP API, Bulk API, or the Metadata API.

See the following links for examples of using WSC with different APIs:

SOAP API - http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_quickstart_steps.htm#step_4_walk_through_the_sample_code
Metadata API - http://www.salesforce.com/us/developer/docs/api_meta/index_Left.htm#StartTopic=Content/meta_quickstart.htm#sample_code
Bulk API - http://www.salesforce.com/us/developer/docs/api_asynch/index_Left.htm#StartTopic=Content/asynch_api_code_walkthrough.htm