Saturday, June 21, 2014

Salesforce Integration - Notes


* API/ Webservice
- API - Collection of methods
Ex : Salesforce
Force.com API
- Webservice - Small service
* SOAP API
- Strict Grammer rules.
-  Number of parameter should match.
-  Datatype Should match
- WSDL - Webservice Description Language
- Generate WSDL File in salesforce.
- XSD - XML Schema Defination
* REST API
- Mostly used in mobile
* Call - In / Call - Out
- Access Salesforce from outside - Call In
- Access Outside service from Salesforce - Call Out
* Formats : XML/ JSON / Key - Value
* Authentication Mechanisems
* HTTP
Request header
Request Body
Response header
Response body
* XML Parsing
XMLStreamReader
* JSON Parsing
JSON Serialize/Deserialize
================================================================

No comments:

Post a Comment

Salesforce - Generate dynamic inner query to fetch parent and related child records

Use Case: In many scenarios, we need to clone the records with related child records. Issue / Limitation: We may simply use the "cl...