Loading

Differences between Salesforce provided WSDL files

Дата публикации: Feb 28, 2024
Описание

Salesforce provides 2 WSDL (Web Service Description Language) files. They are called 'Enterprise WSDL' and 'Partner WSDL'. A WSDL is an XML document that contains a standardized description of how to communicate using a web service (the Salesforce API is exposed as a web service). The WSDL is used by developers to aid in the creation of Salesforce integration pieces. A typical process involves using the Development Environment (eg, Eclipse for Java, or Visual Studio for .Net) to consume the WSDL and generate classes which are then referenced in the integration.

Решение

 

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.

Downloading a WSDL file when logged into Salesforce

Classic: 
1. Click Setup | Develop | API
2. Click the link to download the appropriate WSDL
3. Save the file locally, giving the file a ".wsdl" extension.

Lightning: 
1. Click Setup | Integrations | API
2. Click the link to download the appropriate WSDL
3. Save the file locally, giving the file a ".wsdl" extension.
 

Номер статьи базы знаний

000385303

 
Загрузка
Salesforce Help | Article