SOAP vs REST, when to use one and not the other?

前端 未结 3 1160
一个人的身影
一个人的身影 2020-12-30 10:33

I\'m really confused everytime I come around this question, what characteristics would help one choosing SOAP over REST or the other way around?

I mean, besides the

3条回答
  •  不知归路
    2020-12-30 11:03

    SOAP is a form of RPC and REST is architecture style that can scale with the web.

    REST concerns about the following (copied from RESTful Web Services)

    • Addressability
    • Statelessness
    • Representations
    • Links and Connectedness
    • The Uniform Interface

    Two great books on REST and have some discussions on the topic that you are interested in.

    • REST in Practice
    • Restful Web Services

提交回复
热议问题