2. Salesforce is a cloud based CRM system and stores all the
customer related data. There are several ways to
communicate to Salesforce among that Mule ESB technology
is one way to Integrate.
Using Mule ESB Saleforce connector you can easily integrate
Salesofrce. Mule provides Saleforce connector that allows to
perform multiple operations like create, update and delete
and built with so many parameters and can help you to pass
the values for the methods.
3. Although Some time you may find issues in the parameters.
Connector may not have all the parameters that you required. In my
past experience, I had same issue where I was unable to found
parameter âOwnerIdâ for the convertLead opertaion.
When I googled for this issue then I found this parameter is not
included in Salesforce connector as this filed is not required for
most of the scenarioes. To overcome this type of scenarios we can
do things like below
1) Modify the Salesforce connector provided by Mule using its
source code .
2) Integrate Salesforce Using Java code for this operation.
4. Before going to Java code for Saleforce integration, we need below
thing to integrate and authenticate in Saleforce
1) Salsforce endPoint
2) Salesforce userName
3) Salesforce Password ( Typically Password is combination of
Password + Security Token )
5. In Java code, will break the process steps like below
1) Setup the connection with Salesforce using the above values.
2) Prepare request that you need to pass to salesforce.
3) Execute the required method using coonection that was setup
using point1.
4) Process the response that is being returned from Salesforce after
successful execution of method.
6. 1) Setup the connection
Below code shows the connection settings to Salesforce with the provide
authentication details