Generating the WSDL file
In order for Magento to communicate with Salesforce it will need an Enterprise WSDL file. This tutorial will walk you through the process of getting that file from Salesforce.
Step-by-step guide
The very first thing you would need to do is to log into your Live Salesforce Org or into your Sandbox Org.
- After you log in, find "Setup" link at the top right of the page (Classic View).
- Click on "Setup" link.
- On the next page use the quick search to filter the navigation to only display items which contain the word "API".
- Click on Build > Develop > API link.
- On the API WSDL page, click on "Generate Enterprise WSDL" link
- Next page will list installed managed packages in your Org. At the top of that list you will see "Generate" button. Go ahead and click that button.
NOTE: It may take a while for Salesforce to generate the file, so be patient. - Now on the next page right-click on the page and then click on "Save As..." (if you are using Google Chrome browser) to save the file on your computer.
- We always recommend naming the file using a meaning full name (eg. www.example.com.wsdl.xml, store.example.com.wsdl.xml, staging.example.com.wsdl.xml or similar)
Each Magento environment will require different Salesforce Org it will be connected to, this means each environment will have its own WSDL file.
Related articles