Diffrence between SOAP(WSDL) and OData(CSDL) services RRS feed

  • Question

  • Hey guys,

    Can u please tell me the eaxct Diffrence between SOAP(WSDL)  and OData(CSDL) services

    Which service is get  used and in which scenario,plz tell me...

    Tuesday, July 31, 2012 6:22 AM


  • Hi,

    The REST endpoint provides a ‘RESTful’ web service using OData protocol to provide a programming environment that is familiar to many developers. It is the recommended web service to use for tasks that involve creating, retrieving, updating and deleting records. However, in this release of Microsoft Dynamics CRM the capabilities of this Web service are limited to these actions. Future versions of Microsoft Dynamics CRM will enhance the capabilities of the REST endpoint. The REST endpoint is primarily for Javascript and Silverlight webresources as a quick way of accessing data on the server.

    The SOAP endpoint provides access to all the messages defined in the Organization service. However, only the types defined within the WSDL will be returned. There is no strong type support. While the SOAP endpoint is also capable of performing create, retrieve, update and delete operations, the REST endpoint provides a better developer experience. In this release of Microsoft Dynamics CRM the SOAP endpoint provides an alternative way to perform operations that the REST endpoint is not yet capable of the following table describes the appropriate web service to use depending on the task you need to perform.

    Task Web Service

    Create, Retrieve, Update and Delete records.

    REST Endpoint

    Associate and Disassociate records

    REST Endpoint

    Assign Records

    SOAP Endpoint

    Retrieve Metadata

    SOAP Endpoint

    Execute Messages

    SOAP Endpoint

    REST represents Representational State Transfer. REST is an architectural style in which every resource is addressed by using a unique URI. The REST endpoint provides an alternative to the WCF SOAP endpoint, but there are currently some limitations. Only Create, Retrieve, Update, and Delete actions can be performed on entity records. Messages that require the Execute method cannot be performed.Associate and disassociate actions can be performed by using navigation properties.

    Limitation of oData/REST endpoint refer below URL


    Thanks & Regards, MS CRM Consultant, V.Surya. My Blog: http://inventcrm.wordpress.com/

    • Proposed as answer by SuryaMSCRM Tuesday, July 31, 2012 6:42 AM
    • Marked as answer by Prashant Wani Tuesday, July 31, 2012 7:27 AM
    Tuesday, July 31, 2012 6:41 AM