Now a day, the businesses constantly look for modern trend/environment to collaborate with clients and have the need to integrate their existing enterprise systems with the Cloud based service such as Salesforce platform. Let us see how to integrate the Salesforce with Microsoft .Net applications using SOAP API?
This is a common integration method required to be executed on any Microsoft .NET supported platform. The following steps are involved to establish the connection with Console application.
• Generate API WSDL in Salesforce
• Add a Web service reference to the .Net application
• Establish API reference within Salesforce
Generating API WSDL in Salesforce:
Step 1: WSDL files are retrieved via the standard user interface in Salesforce organization by navigating to Setup > Develop > API. Choose the appropriate Partner WSDL.
Step 2: Click the Generate button.
After that, you will receive the WSDL file in XML format. Store the below generated file in your local disk.
Add Web service reference to the .Net application:
Step 3: Reference the generated file in the Visual studio console application.
Step 4: Add the endpoint URL in the SOAP API Service Reference.
Step 5: Click the Add Web Reference button.
Step 6: Enter the Salesforce user credential details.