To generate the metadata and enterprise WSDL files for your organization:
- Log in to your Salesforce account. You must log in as an administrator or as a user who has the “Modify All Data” permission.
- From Setup, enter API in the Quick Find box, then select API
- Click Generate Enterprise WSDL and save the XML WSDL file to your file system.