locked
Rest endpoint RRS feed

  • Question

  • Dear all,

    I believe i will get perfect answer in the forums. I am not able to understand why Rest Endpoint is exists? Also SOAP webservice also in developer resources. So which service we  have to use while building webapplications/portals? What are the advantages when we are using REST endpoint? I saw few examples using REST endpoint in javascript webresouces.. So same way we can use SOAP protocal also. Any specific reason using Rest Endpoint in Jscript ?

    Please clarify.

    Thx in Advance,

    Wednesday, March 21, 2012 7:28 AM

Answers

  • Hi pnkcrm1,

    The REST endpoint is primarily for Javascript and Silverlight webresources as a quick way of accessing data on the server. 

    It does have limitations compared to the SOAP endpoint. In theory it is easier to use in Javascript compared to SOAP since it works well with Ajax and JSON.

    See http://msdn.microsoft.com/en-us/library/gg334279.aspx for more information.

    hth,

    Scott


    Scott Durow
    Read my blog: www.develop1.net/public
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Wednesday, March 21, 2012 8:10 AM
    Answerer