Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

SOAP vs. Web API vs. REST Calls

(0) ShareShare
ReportReport
Posted on by 65

I have heard that SOAP calls into D365 F&O will become obsolete in the future but have not found complete documentation stating this as a fact nor providing a timeframe.   

Is it true that Microsoft will be obsoleting the SOAP functionality in D365 F&O?   If true, when?

The alternatives being using either REST or Web API.   Are either of these significantly faster or more reliable?  For my purposes we have small payloads (both sending data and receiving data) but will have thousands of unique requests on an 8 hour shift.  I have sent Postman calls using both SOAP and Web API and have not found much difference in timing (+/- 10 milliseconds) between these 2 protocols.

Thanks for the assistance.

  • Verified answer
    Martin Dráb Profile Picture
    231,777 Most Valuable Professional on at
    RE: SOAP vs. Web API vs. REST Calls

    The first two are endpoint of custom services. When you create a custom service, it's available exposed through these two endpoints and the consumers can choose which one they want to use.

    The third endpoint is for OData services, where public data entities are published.

  • DDMoore Profile Picture
    65 on at
    RE: SOAP vs. Web API vs. REST Calls

    My question is around the different URLs used to access D365 data.

    <Dynamics URL>/soap/services/<service name> - uses a SOAP envelope

    <Dynamics URL>/api/services/<service name> - uses a JSON body for the request and response. This is what I was referring to as Web API.

    <Dynamics URL>/data/<table entity name> - a RESTful call.

    Our app currently has SOAP calls in it.   Is there a performance or Microsoft deprecation reason to update these?

    Thanks again for the assistance.

    Duane

  • Martin Dráb Profile Picture
    231,777 Most Valuable Professional on at
    RE: SOAP vs. Web API vs. REST Calls

    I also didn't hear anything about deprecating SOAP.

    Regarding Web API vs REST, it all depends on your defintion of "Web API". If you mean web API in general, then there is no point in comparing them and asking about things like performance. Web API means kinds of web services, which includes those that are designing according to the REST pattern.

    If you mean ASP.NET Web API, this framework can be used to develop RESTful services, therefore asking what's faster or more reliable again doesn't make good sense.

  • nunomaia Profile Picture
    11 Moderator on at
    RE: D365 SOAP vs. Web API vs. REST Calls

    In some Microsoft D365 products SOAP is being deprecated. 

    In particular, the D365 Finance Supply Chain, I don't remember any Microsoft notification about that. Microsoft change easily change product roadmap 

    The biggest advantage of Rest against SAP is that you can easily build a consumer API from a third party client without having a tool to generate a SOAP proxy client.You can easily test / validate a REST endpoint from Postman.

    I think It's safe for now, to keep using SOAP. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,907 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,777 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans