The WSDL (Web Service Definition Language) file is dynamically generated based on which type of WSDL file (enterprise or partner) you download. The generated WSDL defines all of the API calls, objects (including standard and custom objects), and fields that are available for API access for your organization.
To generate the WSDL file form Salesforce 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.
- Go to Setup — > Develop –> API , Click to API
- Download the Enterprise WSDL
- If you’re downloading an Enterprise WSDL and you have managed packages installed in your org, click Generate Enterprise WSDL . Salesforce provide you to select the version of each installed package to include in the generated WSDL.
- Otherwise, right-click the link for the appropriate WSDL document to save it to a local directory.