Is RESTful faster than SOAP? and when to use one of them?

后端 未结 8 480
清酒与你
清酒与你 2021-01-02 20:58

Duplicate: This is a duplicate of \"What are the best uses of REST services?\" and many others. Please close it.

In web development:

Should

8条回答
  •  难免孤独
    2021-01-02 21:43

    REST should be faster than SOAP in most cases since it is more light weight, less overhead.

    But there are some situations in which you need the functionality that is in that overhead.

    Unless you want to standardise on one (this reduces the number of technologies in your solution, and therefore the complexity), the rule of thumb would be use REST when you can and SOAP where you must.

提交回复
热议问题