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?

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

  • what is stringly and loosely typed? – Ujwala Mane Dec 13 '18 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. – Tushar Sharma Dec 14 '18 at 2:58
  • okay.. in what scenario enterprise wsdl is used..? – Ujwala Mane Dec 14 '18 at 7:02
  • @UjwalaMane They are primarily for customers. Because in that case, you won't change metadata daily. – Tushar Sharma Dec 14 '18 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? – Ujwala Mane Dec 14 '18 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.