Soap Api Retirement: Salesforce's End of Life Announcement

By Sarah

Salesforce's SOAP API, a cornerstone of integration for many businesses, is set to retire in 2023. This shift, while inevitable, raises questions and concerns among users. This article aims to guide you through the retirement process, its implications, and the recommended alternatives.

Handmade Honey Soap
Handmade Honey Soap

Salesforce introduced the SOAP API in 2006, enabling businesses to integrate their systems with Salesforce. However, with the evolution of APIs and the rise of REST, Salesforce has decided to sunset SOAP in favor of more modern and efficient methods.

Salesforce + Apigee for Smarter Predictive Analytics
Salesforce + Apigee for Smarter Predictive Analytics

Understanding the SOAP API Retirement

Salesforce announced the retirement of the SOAP API in 2020, with the final deprecation scheduled for January 2023. This retirement affects all SOAP API versions, including the Enterprise and Partner WSDLs.

three soap bars with flowers on them sitting next to each other in front of a white background
three soap bars with flowers on them sitting next to each other in front of a white background

After the retirement date, any attempts to use the SOAP API will result in errors. This includes both direct API calls and indirect usage through tools and services that rely on SOAP.

Impact on Your Business

FINAL SOAP CHALLENGE!  Line Designs
FINAL SOAP CHALLENGE! Line Designs

If your business relies on the SOAP API for integration, the retirement will require you to update your processes. This could involve reconfiguring existing integrations, updating custom code, or even changing how you use certain third-party tools.

Moreover, the retirement may affect your data security and compliance. SOAP API uses older security protocols, and its retirement may impact your ability to meet certain data protection standards.

What Salesforce Recommends

four pieces of colorful polka dot tile sitting on top of a black table with trees in the background
four pieces of colorful polka dot tile sitting on top of a black table with trees in the background

Salesforce recommends migrating to the REST API or using their MuleSoft Anypoint Platform for integrations. Both options offer more modern features, better performance, and improved security.

For REST API, Salesforce provides comprehensive documentation and tools to help with the migration. MuleSoft, acquired by Salesforce in 2018, offers a robust integration platform that supports both Salesforce and non-Salesforce applications.

Migrating to REST API

three pieces of art made out of wood with the words capricca on them
three pieces of art made out of wood with the words capricca on them

Migrating to the REST API involves updating your integration code to use the REST API endpoints instead of SOAP. Salesforce provides a REST API Explorer tool to help with this process.

Here are some key differences to consider when migrating:

four pieces of artisan soap sitting on top of a marble counter
four pieces of artisan soap sitting on top of a marble counter
Learn About Insurance for Soapmakers
Learn About Insurance for Soapmakers
181K views · 858 reactions | Goat Milk soap, scented with “falling in love” fragrance oils. The Orchid on top is from my garden. Smells divine.  #goatmilksoap #fyp #soapmaking #reel #reels #soapmaker #foryoupagereels  | Whitefarm
181K views · 858 reactions | Goat Milk soap, scented with “falling in love” fragrance oils. The Orchid on top is from my garden. Smells divine. #goatmilksoap #fyp #soapmaking #reel #reels #soapmaker #foryoupagereels | Whitefarm
How To Start a Soap Business in 9 Steps (+ Tips) - Shopify
How To Start a Soap Business in 9 Steps (+ Tips) - Shopify
Frosted Fir Soap Project | BrambleBerry
Frosted Fir Soap Project | BrambleBerry
Pikachu soap
Pikachu soap
Ice cream soap, savon cornet de crème glacée
Ice cream soap, savon cornet de crème glacée
Glowing Skin Secret- Sandalwood & Saffron Magic Soaps For Bath
Glowing Skin Secret- Sandalwood & Saffron Magic Soaps For Bath
How To Have A Successful Soap Business
How To Have A Successful Soap Business
Bug Away Handmilled Soap Recipe with Citronella Essential Oil
Bug Away Handmilled Soap Recipe with Citronella Essential Oil
DIY Lavender Woods & Honey Hot Process Soap
DIY Lavender Woods & Honey Hot Process Soap
Consultant Retirement Legend Retired
Consultant Retirement Legend Retired
Don't Save the Good Soap for Company
Don't Save the Good Soap for Company
10 Easy Melt & Pour Soap Recipes
10 Easy Melt & Pour Soap Recipes
🌿 Fiorenza Magic Soap – Sandalwood & Saffron Skin Care Soap (Pack of 4)🧼🌿✨  All Skin
🌿 Fiorenza Magic Soap – Sandalwood & Saffron Skin Care Soap (Pack of 4)🧼🌿✨ All Skin
Real Estate Marketing Hand Soap Sanitizer, Lotion or Soap Pop Up Tags Download PDF • Client Promo Gift • Real Estate Pop By Gift Tags Summer Pop Bys Real Estate, Pop By Gifts Real Estate Marketing Ideas, Hand Soap Tag, Hand Sanitizer Pop By Real Estate, Real Estate Pop By Ideas, Client Pop By Gifts, Marketing Gift Ideas, Pop By Gifts Real Estate, Realtor Pop By Gifts
Real Estate Marketing Hand Soap Sanitizer, Lotion or Soap Pop Up Tags Download PDF • Client Promo Gift • Real Estate Pop By Gift Tags Summer Pop Bys Real Estate, Pop By Gifts Real Estate Marketing Ideas, Hand Soap Tag, Hand Sanitizer Pop By Real Estate, Real Estate Pop By Ideas, Client Pop By Gifts, Marketing Gift Ideas, Pop By Gifts Real Estate, Realtor Pop By Gifts
Soap Making — Healing Harvest Homestead
Soap Making — Healing Harvest Homestead
Fisherman's Soap MP Recipe - Wholesale Supplies Plus
Fisherman's Soap MP Recipe - Wholesale Supplies Plus
Master Batch Soap Oils #5
Master Batch Soap Oils #5
two soap bars sitting on top of each other in front of some grass and dirt
two soap bars sitting on top of each other in front of some grass and dirt
  • Authentication: REST API uses OAuth 2.0, while SOAP uses username/password or certificate-based authentication.
  • Endpoints: REST API uses standard HTTP methods (GET, POST, PUT, DELETE), while SOAP uses SOAP-specific methods.
  • Data Format: REST API uses JSON or XML, while SOAP uses XML only.

Migrating Custom Code

If you have custom code that uses the SOAP API, you'll need to update it to use the REST API. This could involve updating Apex code, Visualforce pages, or custom integrations.

Salesforce provides tools like the SOAP to REST Migration Assistant to help with this process. However, you may need to manually update some code, especially if it's complex or custom.

Migrating Third-Party Tools

Some third-party tools and services may also rely on the SOAP API. You'll need to check with your vendors to see if they support the REST API and, if not, encourage them to update their services.

Alternatively, you may need to find new tools that support the REST API or use a middleware solution like MuleSoft to bridge the gap.

In conclusion, the retirement of the SOAP API is a significant change that requires action from Salesforce users. By understanding the implications and taking steps to migrate to the REST API, you can ensure a smooth transition and continue to benefit from Salesforce's powerful integration capabilities.