Close Menu
SalesforceCodex
    Facebook X (Twitter) Instagram
    Trending
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    • How to Implement Basic Queueable Chaining in Salesforce Apex
    • How to Suppress PMD Warnings in Salesforce Apex
    • Top 10 PMD Issues Salesforce Developers Should Focus on in Apex
    • How to Use Graph API for Outlook-Salesforce Connection
    • Enhancing Performance with File Compression in Apex
    Facebook X (Twitter) Instagram
    SalesforceCodex
    Subscribe
    Wednesday, May 21
    • Home
    • Architecture
    • Salesforce
      • News
      • Apex
      • Integration
      • Books Testimonial
    • Questions
    • Certification
      • How to Prepare for Salesforce Integration Architect Exam
      • Certification Coupons
    • Integration Posts
    • Downloads
    • About Us
      • Privacy Policy
    SalesforceCodex
    Home»Salesforce»Certification»Difference between Salesforce WSDL Files

    Difference between Salesforce WSDL Files

    Dhanik Lal SahniBy Dhanik Lal SahniNovember 17, 2020Updated:June 11, 20232 Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Difference between Salesforce WSDL Files
    Share
    Facebook Twitter LinkedIn Pinterest Email

    SOAP Integration is done using WSDL file in Salesforce. WSDL (Web Service Description Language) is used to describe functionalities provided by web service.  This WSDL file can be used by any client like .NET, JAVA, Perl to connect with Salesforce system. In Salesforce we can generate below types of WSDL files.

    1. Enterprise WSDL
    2. Partner WDSL
    3. Apex WSDL
    4. Metadata WSDL
    5. Delegate Authentication WSDL

    1. Enterprise WSDL:

    This WSDL can be used by customer who already using Salesforce system and wants to integrate their Org with other application like .NET, Java. As they will work with their Salesforce org only so we can use Enterprise WSDL. Enterprise WSDL are strongly types means WSDL file has each metadata information like object name (standard and custom objects), field name and their types as well. If any metadata changes will be done in Salesforce organization, then we have to regenerate WSDL file to get those changed information. If we will not re-generate WSDL then we will not get updated metadata information and cannot use that in our client code.

    This WSDL is tied to specific Salesforce Org. If we have multiple Salesforce Org, then we have to generate multiple Enterprise WSDL.

    Code Example for using object:

    Employee__c p = new Employee__c();
    p.Name__c=’Hello’;

    In this example, we are directly referring Employee__c object and field Name__c.

    Used By : This is primarily used by customers.

    2. Partner WDSL:

    This WSDL document is used by customers, partners, and ISVs who want to build an integration that can work across multiple Salesforce organizations, regardless of their custom objects or fields.  While working with Partner WSDL, we don’t know object and field detail so we have to write our code with more flexibility. Some time, we have to check fields or objects availability before using it.

    Partner WSDL can work with multiple Salesforce Org as it is designed for it.

    Code Example:

    sObject p = new sObject();
    p.setType("Position__c");
    p.setField("Name", "Test");

    In this example we are referring generic sObject and setting type of object and fields later. Before using fields, we have to confirm that field Name is there in Position__c object.

    Used By : This is primarily used by partners for making apps.

    3. Apex WSDL:

    Use this WSDL to run or compile Apex in another environment. For this we kind of requirement, we can also use Tooling API now.

    4. Metadata WSDL:

    Use this WSDL, when want to use the Metadata API to retrieve or deploy customization information. For this we kind of requirement, we can also use Metadata API now.

    5. Delegated Authentication WSDL:

    The delegated authentication WSDL document is for users who want to create a delegated authentication application to support single-sign on.

    Checkout blog https://salesforcecodex.com/2020/11/configure-saml-single-sign-on-between-two-salesforce-orgs/ for this.

    References:

    1. https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_steps_import_wsdl.htm
    2. https://help.salesforce.com/articleView?id=dev_wsdl.htm&type=5

    enterprise wsdl integration integration architecture partner wsdl salesforce salesforce question wsdl
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleConfigure SAML Single Sign-on between two Salesforce Orgs
    Next Article File Related List in Lightning Web Component
    Dhanik Lal Sahni
    • Website
    • Facebook
    • X (Twitter)

    With over 18 years of experience in web-based application development, I specialize in Salesforce technology and its ecosystem. My journey has equipped me with expertise in a diverse range of technologies including .NET, .NET Core, MS Dynamics CRM, Azure, Oracle, and SQL Server. I am dedicated to staying at the forefront of technological advancements and continuously researching new developments in the Salesforce realm. My focus remains on leveraging technology to create innovative solutions that drive business success.

    Related Posts

    By Dhanik Lal Sahni6 Mins Read

    Top 10 Salesforce Flow Features of Salesforce Summer ’25

    May 11, 2025
    By Dhanik Lal Sahni6 Mins Read

    Unlock the Power of Vibe Coding in Salesforce

    April 30, 2025
    By Dhanik Lal Sahni5 Mins Read

    How to Implement Dynamic Queueable Chaining in Salesforce Apex

    April 21, 2025
    View 2 Comments

    2 Comments

    1. Sai LearnInbox on December 22, 2020 11:47 am

      Great Post. I learnt new things about the salesforce wsdl(web server description language) files and integration .

      Reply
      • Dhanik Lal Sahni on December 26, 2020 10:41 am

        Thank You Sai.

        Reply
    Leave A Reply Cancel Reply

    Ranked #1 SALESFORCE DEVELOPER BLOG BY SALESFORCEBEN.COM
    Featured on Top Salesforce Developer Blog By ApexHours
    Recent Posts
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    • How to Implement Basic Queueable Chaining in Salesforce Apex
    • How to Suppress PMD Warnings in Salesforce Apex
    Ranked in Top Salesforce Blog by feedspot.com
    RSS Recent Stories
    • How to Connect Excel to Salesforce to Manage Your Data and Metadata February 9, 2025
    • Difference Between With Security and Without Security in Apex January 2, 2025
    • Top Reasons to Love Salesforce Trailhead: A Comprehensive Guide December 5, 2024
    • How to Utilize Apex Properties in Salesforce November 3, 2024
    • How to Choose Between SOQL and SOSL Queries July 31, 2024
    Archives
    Categories
    Tags
    apex (110) apex code best practice (8) apex rest (11) apex trigger best practices (4) architecture (22) Asynchronous apex (9) AWS (5) batch apex (9) batch processing (4) code optimization (8) code review tools (3) custom metadata types (5) design principle (9) einstein (3) flow (15) future method (4) google (6) google api (4) integration (19) integration architecture (6) lighting (8) lightning (64) lightning-combobox (5) lightning-datatable (10) lightning component (29) Lightning web component (61) lwc (50) named credential (8) news (4) optimize apex (3) optimize apex code (4) Permission set (4) Queueable (9) rest api (23) S3 Server (4) salesforce (140) salesforce apex (46) salesforce api (4) salesforce api integration (5) Salesforce Interview Question (4) salesforce news (5) salesforce question (5) solid (6) tooling api (5) Winter 20 (8)

    Get our newsletter

    Want the latest from our blog straight to your inbox? Chucks us your detail and get mail when new post is published.
    * indicates required

    Ranked #1 SALESFORCE DEVELOPER BLOG BY SALESFORCEBEN.COM
    Featured on Top Salesforce Developer Blog By ApexHours
    Recent Posts
    • Top 10 Salesforce Flow Features of Salesforce Summer ’25
    • Unlock the Power of Vibe Coding in Salesforce
    • How to Implement Dynamic Queueable Chaining in Salesforce Apex
    • How to Implement Basic Queueable Chaining in Salesforce Apex
    • How to Suppress PMD Warnings in Salesforce Apex
    Ranked in Top Salesforce Blog by feedspot.com
    RSS Recent Stories
    • How to Connect Excel to Salesforce to Manage Your Data and Metadata February 9, 2025
    • Difference Between With Security and Without Security in Apex January 2, 2025
    • Top Reasons to Love Salesforce Trailhead: A Comprehensive Guide December 5, 2024
    • How to Utilize Apex Properties in Salesforce November 3, 2024
    • How to Choose Between SOQL and SOSL Queries July 31, 2024
    Archives
    Categories
    Tags
    apex (110) apex code best practice (8) apex rest (11) apex trigger best practices (4) architecture (22) Asynchronous apex (9) AWS (5) batch apex (9) batch processing (4) code optimization (8) code review tools (3) custom metadata types (5) design principle (9) einstein (3) flow (15) future method (4) google (6) google api (4) integration (19) integration architecture (6) lighting (8) lightning (64) lightning-combobox (5) lightning-datatable (10) lightning component (29) Lightning web component (61) lwc (50) named credential (8) news (4) optimize apex (3) optimize apex code (4) Permission set (4) Queueable (9) rest api (23) S3 Server (4) salesforce (140) salesforce apex (46) salesforce api (4) salesforce api integration (5) Salesforce Interview Question (4) salesforce news (5) salesforce question (5) solid (6) tooling api (5) Winter 20 (8)

    Get our newsletter

    Want the latest from our blog straight to your inbox? Chucks us your detail and get mail when new post is published.
    * indicates required

    Facebook X (Twitter) Instagram Pinterest YouTube Tumblr LinkedIn Reddit Telegram
    © 2025 SalesforceCodex.com. Designed by Vagmine Cloud Solution.

    Type above and press Enter to search. Press Esc to cancel.

    Ad Blocker Enabled!
    Ad Blocker Enabled!
    Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.