What are the types of wsdl in salesforce?

497    Asked by darsh_6738 in Salesforce , Asked on Jun 12, 2023

 I am new to salesforce soap api, I found there are multiple types of wsdl in salesforce. What is the difference between enterprise and partner wsdl and how to choose which wsdl type we should select for our requirements?

Answered by Darsh K
There are 2 types of WSDL in salesforce. They are Enterprise and Partner.
Enterprise WSDL
The Enterprise WSDL is strongly typed.
The Enterprise WSDL is tied (bound) to a specific configuration of Salesforce (ie. a specific organization's Salesforce configuration).

The Enterprise WSDL changes if modifications (e.g custom fields or custom objects) are made to an organization's Salesforce configuration.

For the reasons outlined above, the Enterprise WSDL is intended primarily for Customers.

Partner WSDL
The Partner WSDL is loosely typed.
The Partner WSDL can be used to reflect against/interrogate any configuration of Salesforce (ie. any organization's Salesforce configuration).
The Partner WSDL is static, and hence does not change if modifications are made to an organization's Salesforce configuration.
For the reasons outlined above, the Partner WSDL is intended primarily for Partners.
Differences between Salesforce provided WSDL files

Your Answer

Interviews

Parent Categories