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
Srini NandhiSrini Nandhi 

Can any one give the examples for Integration(using RestAPI and SOapAPI)

Can any one give the examples for Integration(using RestAPI and SOapAPI)

I want to understand Integrations in Salesforce. 
NagaNaga (Salesforce Developers) 
Hi Srini,

SOAP API and REST API are two commonly used API's to expose your data from force.com platform to other platforms(JAVA ,.NET ,etc) or to allow external application to invoke Apex methods.

http://blogs.developerforce.com/tech-pubs/2011/10/salesforce-apis-what-they-are-when-to-use-them.html

This is an interesting blog and may answer your question very well.

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_intro.htm

API described in Salesforce documentation above.

SOAP API

1)Supports data in the form of XML only 2)Requires WSDL for the integration 3)Use SOAP API in any language that supports Web services.

REST API 1)Supports both XML and JSON format 2)Preferred for mobile and web apps since JSON being Lighter the app runs smoother and faster

You can also use Apex SOAP and REST Web services to expose data from platform or allow an external application to invoke Apex methods.

You may want to refer to the Apex guide to learn more about this.

Even the link below might give you information

https://developer.salesforce.com/blogs/tech-pubs/2012/08/thinking-salesforce-think-integration.html

Best Regards
Naga kiran