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 :
Microsoft Dynamics CRM (Archived)

Rest vs Soap??

(0) ShareShare
ReportReport
Posted on by 1,023

Hi,

Please help me understand below:

In regards to Dynamics CRM, if someone asks what would you prefer Rest vs Soap and why?

what should be my answer.

Any easy explanation is highly appreciated.

Thanks!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi James,

    Microsoft Dynamics CRM 2011 endpoint

    Beginning with the Dynamics 365 (8.0) release, a new OData 4 endpoint was added to the Dynamics 365 application stack. This endpoint is known as the Web API. The Web API provides a development experience that can be used across a wide variety of programming languages, platforms, and devices. The Web API is intended to replace the CRM 2011 endpoint, also known as the SOAP endpoint, for accessing the Dynamics 365 organization web service and other provided web services.

    As of the release of Microsoft Dynamics CRM Online 2016 Update 1 and Microsoft Dynamics CRM 2016 Service Pack 1 (8.1.0), the CRM 2011 endpoint has been deprecated. The 2011 endpoint will be removed some time after the release of Dynamics 365 version 9. We plan to provide updates to the Dynamics 365 SDK assemblies and tools over the next several minor releases, retargeting them to use the Web API instead of the 2011 endpoint.

    We strongly encourage developers to use the Web API for accessing Dynamics 365 web services when writing new application code. You must update existing applications to use the Dynamics 365 Web API for accessing Dynamics 365 web services between now and the removal of the 2011 endpoint. When you develop plug-ins and custom workflow activities, continue to link those projects to the Dynamics 365 SDK assemblies. The Dynamics 365 SDK assemblies will be updated to use the Web API. This update will be fully transparent to you and any code written using the SDK itself will be supported.

    In Addition there nice Rest Builder Tool available and the tool for CRM Online & On Premise to generatet Web API REST endpoints.

    https://github.com/jlattimer/CRMRESTBuilder

    Thanks

    Justin Jose

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    Hey James ,

    If you say in terms of theory I believe you are aware that SOAP is a protocol and its nothing but XML based message where as REST is an architectural style by where every  action can be invoke using URL (with verbs GET,PUT,POST,DELETE).

    Dynamics 365 provides  both SOAP and REST endpoint . If you go to Settings --> Customization -->Developer Resource you can find the both REST WEB API Url and also SOAP Organization Service URL.

    Could you please go through my article  will be help you to understand -

    goutamdascrm.wordpress.com/.../why-dynamics-365-web-api

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi,

    See here how to use  CRMRestBuilder to generate Javascript API code.

    www.youtube.com/watch

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans