Top 27 Salesforce Integration Interview Questions You Must Prepare 27.Jul.2024

Q1. What Are Methods In Rest?

HTTPGET, HTTPPUT, HTTPPOST and HTTPDELETE.

Q2. Difference Between Soql Vs Sosl In Salesforce?

SOQL- Salesforce Object Query Language

  • Using SOQL we can Search only on one object one time.
  • We can query on all fields of any data type
  • We can use SOQL in the Triggers and the classes.
  • We can perform DML operation on SQL query results.

SOSL(Salesforce Object Search Language)

  • Using SOSL we can search on many objects at one time.
  • We can query only on fields whose data type is text, phone, and Email.
  • We cannot use in Triggers but can in classes.
  • We cannot perform DML operation on search results.

Q3. What Is Call In And Call Out?

Call In is used to exposing our webservices to another users Call Out is used to invoking or consuming our webservices to others.

Q4. What Is Protocal?

Protocal contains a set of instructions or rules.

Q5. How Many Ways To Xml Parsing?

They are two ways of XML parsing:

  1.  XML streams
  2.  XML DOM

Q6. What Is Soap?

A protocol that defines a uniform way of passing XML-encoded data. SOAP Stands for Simple Object Access Protocol.

Q7. How Soap Can Be Accessed?

SOAP can be communicated through WSDL file, without WSDL file we can’t do integration.

Message format in SOAP is XML.

Q8. What Is The Apex Trigger In Salesforce?

Trigger is an Apex Code that executes before or after.

The following types of DML Operation:

  1.  Insert
  2.  Update
  3.  Delete
  4.  Merge
  5.  Upsert
  6.  Undelete

Q9. How Soap And Rest Will Communicate?

SOAP will communicate through WSDL file

REST will communicate through HTTP file.

Q10. How Soap Can Be Accessed ?

SOAP can be communicate through WSDL file, without WSDL file we can’t do integration.

Message format in SOAP is XML.

Q11. What Is Soql?

A query language that allows you to construct simple but powerful query strings and to specify the criteria that should be used to select the data from the platform database. SOQL Stands for Salesforce Object Query Language.

Q12. How Soap And Rest Will Communicate ?

SOAP will communicate through WSDL file

REST will communicate through HTTP file.

Q13. What Is Webservices ?

Webservices is a functionality or code which helps to us to do integration.

Q14. How To Do Callout Integration ?

Generate WSDL code from class

Path: setup-develop -apex class.

Q15. How To Read Text Between Tags ?

gettext

Q16. How To Do Callout Integration?

Generate WSDL code from class

Path: setup-develop -apex class.

Q17. What Is Remote Site Settings?

Remote site settings is used to authorize the endpoint and allow us to whom integrate(end user).

Q18. How Many Callouts To External Service Can Be Made In A Single Apex Transaction?

Governor limits will restrict a single Apex transaction to make a maximum of 100 callouts to an HTTP request or an API call.

Q19. What Is An External Id In Salesforce? Which All Field Data Types Can Be Used As External Ids?

An external ID is a custom field which can be used as a unique identifier in a record. External IDs are mainly used while importing records/ data. When importing records, one among the many fields in those records needs to be marked as an external ID (unique identifier).

An important point to note is that only custom fields can be used as External IDs. The fields that can be marked as external IDs are Text, Number, E-Mail and Auto-Number.

Q20. How To Read Root Element In Xml Dom ?

getroot element.

Q21. What Is Wsdl?

WSDL stands for Webservices Description Language.

It contains types, messages, port types, and Binding.

Q22. Limitations Of Wsdl File?

File must be in .WSDL extension.

Multiple port types and binding will not be allowed

Import and Inheritance operations are not supported.

Q23. How Rest Can Be Accessed Or Which Message Format Rest Supports ?

REST supports both XML and JSON.

Q24. What Is Json?

JSON stands for JavaScript Object Notation. JSON is light weighted than XML.

Q25. What Is Integration?

Integration is a process of connecting two applications.

Q26. How To Read All Child Elements In Xml Dom ?

 getchild elements.

Q27. What Are The Types Of Soql Statements In Salesforce?

Salesforce Object Query Language is used to query that records from the database.com based on the requirement.

There are 2 types of SOQL Statements:

  1.  Static SOQL
  2.  Dynamic SOQL.