1.What is SOAP and What is REST?
REST API
Representational State Transfer.
It is based URI
It works with GET,POST,PUT,DELETE
Works Over with HTTP and HTTPS
SOAP API
Simple Object Access Protocol.
It is based on Standard XML format
It is works with WSDL
Works Over with HTTP,HTTPS,SMPT,XMPP
2.Difference between REST API and SOAP API?
Ans :Varies on records that can be handled. Generally if we want to access less number of records we go for REST API.
3.What is WSDL?
A WSDL is an XML Document which contains a standardized description of how to communicate using webservice.
4.What are the different type of WSDL'S?
Ans:
Enterprise WSDL
Partner WSDL
Apex WSDL
Metadata WSDL
Tooling WSDL
Delegated Atuntection WSDL
5.Difference between Enterprise WSDL and Partner WSDL?
Ans:
Enterprise WSDL:
It is used for building client applications for a single salesforce organization.
Customers who use enterprise WSDL document must download and re-consume it when ever their organization makes a change to its custom objects or fields or when ever they want to use a different version of the API.
Partner WSDL:
It is used for building client applications for multiple organizations.
The partner WSDL documention only needs to be downloaded consumed once per version of the API.
6.How can you expose an apex class as a REST web service in salesforce?
Ans - An apex class can be exposed as REST web service by using keyword '@RestResource'
7.How to fetch data from another Salesforce instance using API?
Ans :Use the Force.com Web Services API or Bulk API to transfer data We this this is a great job for the Bulk API.
8.How to call Apex method from a Custom Button?
Ans :An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending a HTTP request from Apex code and then receiving the response.
Apex provides integration with Web services that utilize SOAP and WSDL, or HTTP services (RESTful services).
9.What is the use of Chatter REST API?
The Chatter API (also called Chatter REST API) lets you access Chatter information via an optimized REST-based API accessible from any platform. Developers can now build social applications for mobile devices, or highly interactive websites, quickly and efficiently.
10.How to fetch data from another Salesforce instance using API?
Answer: Use the FORCE.COM WEB SERVICES API or BULK API to transfer data We this this is a great job for the Bulk API.
11.What are callouts and call ins?
Making a request to an external system from salsforce is callout.
Getting requests from an external system is a call in.
12.How many callouts to external service can be made in a single apex transaction?
Ans - A total of 10 callouts are allowed in a single apex transaction.
13.What is the maximum allowed time limit while making a callout to external service in apex?
Ans - maximum of 120 second time limit is enforced while making callout to external service
14.What is the default timeout period while calling webservice from Apex.
Ans : 10 sec.
15.can we define custom time out for each call out?
Ans :
A custom time time can be defined for each callout.
the minimum time is 1 millisecond and maximum is 120,000 milli seconds.
16.How to increase timeout while calling web service from Apex ?
Ans :
docSample.DocSamplePort stub = new docSample.DocSamplePort();
stub.timeout_x = 2000; // timeout in milliseconds
17.What is the use of JSON?
REST API
Representational State Transfer.
It is based URI
It works with GET,POST,PUT,DELETE
Works Over with HTTP and HTTPS
SOAP API
Simple Object Access Protocol.
It is based on Standard XML format
It is works with WSDL
Works Over with HTTP,HTTPS,SMPT,XMPP
2.Difference between REST API and SOAP API?
Ans :Varies on records that can be handled. Generally if we want to access less number of records we go for REST API.
3.What is WSDL?
A WSDL is an XML Document which contains a standardized description of how to communicate using webservice.
4.What are the different type of WSDL'S?
Ans:
Enterprise WSDL
Partner WSDL
Apex WSDL
Metadata WSDL
Tooling WSDL
Delegated Atuntection WSDL
5.Difference between Enterprise WSDL and Partner WSDL?
Ans:
Enterprise WSDL:
It is used for building client applications for a single salesforce organization.
Customers who use enterprise WSDL document must download and re-consume it when ever their organization makes a change to its custom objects or fields or when ever they want to use a different version of the API.
Partner WSDL:
It is used for building client applications for multiple organizations.
The partner WSDL documention only needs to be downloaded consumed once per version of the API.
6.How can you expose an apex class as a REST web service in salesforce?
Ans - An apex class can be exposed as REST web service by using keyword '@RestResource'
7.How to fetch data from another Salesforce instance using API?
Ans :Use the Force.com Web Services API or Bulk API to transfer data We this this is a great job for the Bulk API.
8.How to call Apex method from a Custom Button?
Ans :An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending a HTTP request from Apex code and then receiving the response.
Apex provides integration with Web services that utilize SOAP and WSDL, or HTTP services (RESTful services).
9.What is the use of Chatter REST API?
The Chatter API (also called Chatter REST API) lets you access Chatter information via an optimized REST-based API accessible from any platform. Developers can now build social applications for mobile devices, or highly interactive websites, quickly and efficiently.
10.How to fetch data from another Salesforce instance using API?
Answer: Use the FORCE.COM WEB SERVICES API or BULK API to transfer data We this this is a great job for the Bulk API.
11.What are callouts and call ins?
Making a request to an external system from salsforce is callout.
Getting requests from an external system is a call in.
12.How many callouts to external service can be made in a single apex transaction?
Ans - A total of 10 callouts are allowed in a single apex transaction.
13.What is the maximum allowed time limit while making a callout to external service in apex?
Ans - maximum of 120 second time limit is enforced while making callout to external service
14.What is the default timeout period while calling webservice from Apex.
Ans : 10 sec.
15.can we define custom time out for each call out?
Ans :
A custom time time can be defined for each callout.
the minimum time is 1 millisecond and maximum is 120,000 milli seconds.
16.How to increase timeout while calling web service from Apex ?
Ans :
docSample.DocSamplePort stub = new docSample.DocSamplePort();
stub.timeout_x = 2000; // timeout in milliseconds
17.What is the use of JSON?
Hi, I have all latest dumps of salesforce for all types of salesforce exams if anyone wants you can mail me at
ReplyDeletesfdcconsultant25@gmail.com
These are original questions from the certification exam and very useful to pass the exam.
I have all latest dumps of following exams
90% questions come from it
Salesforce Administrator (ADM 201)
Salesforce Sales Cloud Consultant (CON 201)
Salesforce Service Cloud Consultant
Platform Developer I
App Builder
Immediately i will sent dumps latest one,which helps you to pass
I will give you as-surety for all latest dumps
Hi,
DeleteCould you please share dump for Platform developer 1 and App builder exams
Hi ,
DeleteCould you please send me platform developer1 exam
please send the dumps at sfcdsaurabh6@gmail.com for Platform developer
Deleteanuj23a@gmail.com plz share latest
DeleteService cloud
Pd1
Admin
Appbulider dump
urgent
could you please send below dump to anu.080212@gmail.com
DeleteSalesforce Administrator (ADM 201)
Platform Developer I
Thanks in advance :)
Hi..can you please share me the PD1 and ADM 201 dumps to mohan.bannela@gmail.com
DeleteThanks in advance..
Mohan
Can you please send the latest ADM dumps to sstruefriend24@gmail.com
Deletei will plan to certification developer 401 can u send the new dump
Deletesai27.sf@gmail.com
This comment has been removed by the author.
Deletecvrcerohit@gmail.com plz share latest Service cloud ,Pd1,Admin ,Appbulider dump urgent
Deleteplease share on singhakash1707@gmail.com
ReplyDeleteThis comment has been removed by the author.
ReplyDeletePlease share me PD1 dumps
ReplyDeletesfdc.sureshv@gmail.com
Please share platform developer at
ReplyDeletejoshibhanu06@gmail.com
please share PD1 and ADM 201 dumps at krishbyla@gmail.com
ReplyDeletePlease share
ReplyDeleteme all dumps at kvishnuvardhan11@gmail.com
Hi guys
ReplyDeletecan any one share me latests dumps
ppurushotham17@gmail.com
Can you please send the Salesforce Sales Cloud Consultant (CON 201) ans APP builder
ReplyDeleteHi can you please share the dumps for following exam
ReplyDeleteSalesforce Administrator (ADM 201)
Salesforce Sales Cloud Consultant (CON 201)
Salesforce Service Cloud Consultant
Platform Developer I
App Builder
share dumps on swapnil27687@gmail.com
ReplyDeleteHi guys,
ReplyDeleteCan anyone share me latest dump for PD1 Examp.
Jayshree.kothavade2013@gmail.com
Thank you.
Hi Guys,
ReplyDeleteCan someone please share the Sales and Service Cloud dumps on thakurshekhar8@gmail.com.
Thanks in Advance !!
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.
ReplyDeleteDigital Marketing Training in Chennai
Digital Marketing Course in Chennai
in a single transcation we can make 100 callouts i guess question 12 is having different answer
ReplyDelete