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.

  1. After you log in, find "Setup" link at the top right of the page (Classic View).
  2. Click on "Setup" link.
  3. On the next page use the quick search to filter the navigation to only display items which contain the word "API".
  4. Click on Build > Develop > API link.
  5. On the API WSDL page, click on "Generate Enterprise WSDL" link
  6. 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.
  7. 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.
  8. We always recommend naming the file using a meaning full name (eg. www.example.com.wsdl.xmlstore.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.