0

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?

1 Answer 1

3

Salesforce provide 2 types of WSDL. They are Enterprise and Partner.

Enterprise WSDL

  1. The Enterprise WSDL is strongly typed.
  2. The Enterprise WSDL is tied (bound) to a specific configuration of Salesforce (ie. a specific organization's Salesforce configuration).
  3. 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

  1. The Partner WSDL is loosely typed.
  2. The Partner WSDL can be used to reflect against/interrogate any configuration of Salesforce (ie. any organization's Salesforce configuration).
  3. 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

6
  • what is stringly and loosely typed? Commented Dec 13, 2018 at 14:29
  • @UjwalaMane Strongly types means any change in architecture we need to generate new files while in partner it is generic and don't depend on org architecture. Commented Dec 14, 2018 at 2:58
  • okay.. in what scenario enterprise wsdl is used..? Commented Dec 14, 2018 at 7:02
  • @UjwalaMane They are primarily for customers. Because in that case, you won't change metadata daily. Commented Dec 14, 2018 at 7:04
  • ok.. thanks for reply.. its not related to my original question but i studied REST and currently doing SOAP.. i have doubt when to use SOAP and when to REST? Commented Dec 14, 2018 at 7:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .