
Hi Guys,Welcome back, Today we discuss about Sample Gallery and how can we use sample gallery apps into our salesforce orgs.
A. Integration is a process of connecting two applications
A. Webservices is a functionality or code which helps to us to do integration.
A. Protocal is contains set of instructions or rules.
A. SOAP API, REST API, Bulk API and Streaming API.
A. Call In is used to exposing our webservices to another users Call Out is used to invoking or consuming our webservices to others.
A. WSDL stands for Webservices Description Langugage. It contains types, messages,port types and Binding.
A. SOAP can be communicate through WSDL file, without WSDL file we can’t do integration. Message format in SOAP is XML
A. Generate WSDL code from class Path: setup-develop -apex class
A. File must be in .WSDL extenstion. Multiple port types and binding will not allowed Import and Inheritance operations are not supported.
A. Remote site settings is used to authorize the endpoint and allow us to whom integrate(end user)
A. They are two ways of XML parsing 1. XML streams 2. XML DOM
A. getroot element
A. getchild element
A. getchild elements
A. gettext
A. SOAP will communicate through WSDL file REST will communicate through HTTP file
A. HTTPGET, HTTPPUT, HTTPPOST and HTTPDELETE
A. REST supports both XML and JSON
JSON stands for JavaScript Object Notation. JSON is light weighted than XML