Salesforce Integration vs Apex Integration


Salesforce Integration/Apex Integration Introduction
Apex Callout: A decision out makes a call to external internet service or sends protocol request to from Apex Code, then receives the response.
An Apex callout helps you to integrate Apex code with associate degree of external internet service.
Below square measure the 2 sorts Apex Callouts:
SOAP: 
internet service callout to SOAP internet service uses XML. This needs a WSDL document for code generation.
Get to know more info at Salesforce online training
REST: 
protocol callouts to services generally use REST with JSON.
Both SOAP & REST callouts square measure similar in terms of causation missive of invitation to a service and receiving a response. WSDL-based callouts apply to SOAP internet services, protocol callouts will be used with any protocol service, either SOAP or REST.
Remote web {site}}} administration and security: Register your external site in salesforce remote site settings before decision out will call external site, otherwise, callouts can fail. Salesforce training prevents calls to unauthorized network addresses.
How to add a remote web site setting?
To add remote {site|website|web {site|website|web web site}} setting move to setup -> remote site setting Click New remote web site Setting enter remote site setting name and uniform resource locator click on save.

0 comments:

Post a Comment

Please do not enter any spam link in the comment box.

Copyright © 2014 salesforce course | Designed With By Blogger Templates
Scroll To Top