Tuesday, September 19, 2017

Salesforce Integration Interview Question and Answers

1. What is XML?
  • XML is Extensible Markup Language (XML)
  • It is similar to HTML. HTML is used to display data, XML is designed for carrying data.
  • It's main purpose is to transport and store data.
  • Unlike HTML, XML tags are not predefined. You must define your own tags.
  • XML is self describing.
  • XML uses a DTD (Document Type Definition) or XML Schema to formally describe the data.

2. What is an API?
  • Stands for Application Programming Interface.
  • It defines how the software systems must interact.
  • Salesforce provides programmatic access to information using simple, powerful, and secure APIs.
  • Allows one piece of software to make use of the functionality or data available to another system.
  • Examples in Salesforce
  • Bulk API
  • Metadata API
  • Streaming API

3. What is Remote Site Settings used for?
  • Before any Visualforce page, Apex callout, or JavaScript code using XmlHttpRequest in an s-control or custom button can call an external site, that site must be registered in the Remote Site Settings page, or the call fails. 
  • In this setting, You need to specify the URL that you want to access. 
  • You can deactivate the setting if needed.

4. What is Oauth?
  • OAuth (Open Authorization) is an open standard for token-based authentication and authorization on the Internet.
  • It is a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords.
  • It is used by companies such as Google, Facebook, Microsoft and Twitter to permit the users to share information about their accounts with third party applications or websites.

5. What is JSON?
  • JSON or JavaScript object notation is an open standard that uses human readable text to transmit data consisting of key-values and arrays.
  • It is a lightweight data-interchange format.
  • It is very easy to read and write. It is concise and lightweight.
  • It is a very common data format used for asynchronous browser/server communication, including as a replacement for XML in some AJAX-style systems.
  • JSON is a language-independent data format
  • JSON is text, and we can convert any JavaScript object into JSON, and send JSON to the server.
  • We can also convert any JSON received from the server into JavaScript objects.

6. What is cURL used for?
  • cURL is a command line tool for getting or sending files using URL syntax.
  • It supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DAP, DICT, TELNET, FILE, IMAP, POP3, SMTP and RTSP.
  • Example usage in of cURL tool related to Salesforce is to send HTTP requests to access, create, and manipulate REST resources on the Force.com platform.

7. What is WSDL?
  • A WSDL is an XML document that describes a web service. It contains a standardized description on how to communicate using a web service 
  • It actually stands for Web Services Description Language.
  • Salesforce offers two types of WSDL
    • Enterprise
    • Partner

8. What is the use of Enterprise WSDL?
  • The Enterprise WSDL is strongly typed.
  • The Enterprise WSDL is tied (bound) to a specific configuration of Salesforce (ie. a specific organization's Salesforce configuration). It is optimized for a single org.
  • The Enterprise WSDL changes if modifications (e.g custom fields or custom objects) are made to an organization's Salesforce configuration.
  • Ideal for integration with single Salesforce org.

9. What is the use of Partner WSDL?
  • The Partner WSDL is loosely typed.
  • The Partner WSDL can be used to reflect against/interrogate any configuration of Salesforce (ie. any organization's Salesforce configuration). It is optimized for multiple Salesforce orgs.
  • The Partner WSDL is static, and hence does not change if modifications are made to an organization's Salesforce configuration.
  • Ideal for integration with multiple Salesforce orgs.

10. What is SOAP UI?
  • SoapUI is a free and open-source app for testing SOAP and REST services.
  • It can be used for API Functional Testing, API Performance Testing, API Security Testing, API Mocking, etc.
  • It is available for download from https://www.soapui.org/

11. What are Connected Apps?
  • A connected app integrates an application with Salesforce using APIs. 
  • Connected apps use standard SAML and OAuth protocols to authenticate, provide single sign-on, and provide tokens for use with Salesforce APIs. 
  •  In addition to standard OAuth capabilities, Connected apps allow Salesforce admins to set various security policies and have explicit control over who can use the corresponding apps.

12. What is Bulk Api?
  • Based on REST Principles.
  • Can be used for querying, insert, delete, update, upsert of many records asynchronously by submitting batches. Salesforce processes batches in the background.
  • It is a Asynchronous API.
  • Has the ability to work with large data sets like 500,000 records. So, API for loading large amount of data
  • Can be enabled in data loader.

13. What is SOAP API?
  • SOAP is used as wrapper for API Operations. 
  • It is used to create,update,retrieve and delete records.
  • Oldest of the APIs used in Salesforce
  • Mostly used in enterprise settings.
  • Oriented around accessing data and manipulating records.
  • Mostly used with XML Data.

14 What is REST API?
  • REST stands for Representational State Transfer.
  • Simpler than SOAP API. It is easy to develop and integrate.
  • Preferred for Salesforce integration with Mobile device. Preferred as Public API
  • Mostly used with JSON data.
  • Uses the HTTP build-in headers (with a variety of media-types) to carry meta information and use the GET, POST, PUT and DELETE verbs to perform CRUD operation

15. What is Metadata API?
  • Metadata means data about data.
  • Metadata API main focus is on accessing metadata.
  • Use Metadata API to retrieve, deploy, create, update, or delete customizations for your org.
  • The most common use is to migrate changes from a sandbox or testing org to your production environment.
  • It can be used to manipulated metadata elements like Page Layouts, Apex Classes, VF Pages, etc.
  • Tools like force.com IDE and force.com migration toolkit uses metadata API
  • It is SOAP based.

16. What is Streaming API?
  • Streaming API can be used to get a real time notification of data changes in Salesforce.
  • The matching data criteria( for the data for which we want to receive notification) can be defined using a SOQL query.
  • It is much efficient than the clients who continuously poll the server.
  • It internally uses Bayeux Protocol.

17.What is Lightning Connect?
  • Salesforce Connect is a framework that enables you to view, search, and modify data that’s stored outside your Salesforce org. The data can be on premise (e.g. SQL Server) or on cloud (another Salesforce org).
  • It was earlier called as Lightning Connect.
  • Uses concept called as External Objects which are similar to custom objects.
  • Based on OData (Open Data Protocol) which is a modern, REST-based protocol for integrating data.
  • Data Integration is done in real time.
Watch in video format


rakesh manu said...

Very Much Useful Information. Thanks for sharing. I want to learn Salesforce Admin Training in Hyderabad.

Capita Info Solutions said...

Thanks for sharing. it's helpful
Salesforce Integration Training

Theresa Bond said...

Weabersinc Incorporation is a growing digital house focused on the future of the web.
We are a fully integrated design and technology company that transforms ideas into future-proof digital experiences,
and help our clients reach the next step in their digital evolution.
Our energetic web developers are working hard to give the standard valued webapp.
Our special areas of expertise include Web development, Graphics Designing and Digital marketing.
Broadly, blogsite creation, news-site, restaurant/hotel/motel reservation, booking system and much more as development services.
On the other side we provide cover designing, logo, user interface (web and app) designing, Book designing, Photo Enhancement,
Product photo designing, 3D designing, animation, and trailer production.
If you have custom requirement we are ready to take that,,

skype: mahir8907
Email: info@weabersinc.com

for IT the said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Training in Chennai . or Javascript Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai

Sherin Alfonsa said...

I would like to say that this blog really convinced me to update my knowledge about the technology you talk about. Thanks, very good post
salesforce administrator training in chennai
Salesforce certification Training in Chennai

Autoscratcher tool by Mick Wheeler

Mick Wheeler ( http://www.mickwheelz.net ) recently announce on twitter about an interesting tool he created to fetch the source code from ...