web
You’re offline. This is a read only version of the page.
close
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 71

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.

I have the same question (0)
  • nunomaia Profile Picture
    25 Moderator on at

    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. 

  • Martin Dráb Profile Picture
    237,803 Most Valuable Professional on at

    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.

  • DDMoore Profile Picture
    71 on at

    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

  • Verified answer
    Martin Dráb Profile Picture
    237,803 Most Valuable Professional on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans