← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.c.1.a

SOAP与REST的区别

理解等级:中级

SOAP以结构化消息协议交换信息,原书用基于HTTP的XML消息说明它;REST则用资源及标准Web交互方式组织服务接口。二者提供不同的通信组织方式,不是同一种协议的两个版本,也不能把HTTP无状态等同于每次请求必须重新建连接。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Distributed Systems Fundamentals · 查看原书依据

      Then came the Simple Object Access Protocol (SOAP) protocol for exchanging structured information in the implementation of web services in computer networks. SOAP worked on top of the HTTP protocol and was pivotal in supporting operations over networks, offering a standards-based method for sending XML messages between client and server applications in a decentralized and distributed environment.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第01章《Distributed Systems Fundamentals》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch01.xhtml) - 结论依据:原文通过相关定义、应用情境及扩展约束支撑本卡;对自动获得性能或可靠性的说法保留条件,不扩大原文保证。 - 原始内容:Then came the Simple Object Access Protocol (SOAP) protocol for exchanging structured information in the implementation of web services in computer networks. SOAP worked on top of the HTTP protocol and was pivotal in supporting operations over networks, offering a standards-based method for sending XML messages between client and server applications in a decentralized and distributed environment. 原文将HTTP无状态与每次请求断连相连,不能照录为通用结论。RFC 9112 §9.3规定HTTP/1.1默认使用持久连接;核验日期:2026-10-23。[规范](https://www.rfc-editor.org/rfc/rfc9112.html#section-9.3)。