Introduction to SOAP

SOAP 是基于 XML 的简易协议,可使应用程序在 HTTP 之上进行信息交换。

或者更简单地说:SOAP 是用于访问网络服务的协议。

您应当具备的基础知识

在继续学习之前,您需要对下面的知识有基本的了解:

  • XML
  • XML 命名空间

如果您希望首先学习这些项目,请访问我们的《XML Tuition》。

什么是 SOAP?

  • SOAP 指简易对象访问协议
  • SOAP 是一种通信协议
  • SOAP 用于应用程序之间的通信
  • SOAP 是一种用于发送消息的格式
  • SOAP 被设计用来通过因特网进行通信
  • SOAP 独立于平台
  • SOAP 独立于语言
  • SOAP 基于 XML
  • SOAP 很简单并可扩展
  • SOAP 允许您绕过防火墙
  • SOAP 将被作为 W3C 标准来发展

Why SOAP?

对于应用程序开发来说,使程序之间进行因特网通信是很重要的。

目前的应用程序通过使用远程过程调用(RPC)在诸如 DCOM 与 CORBA 等对象之间进行通信,但是 HTTP 不是为此设计的。RPC 会产生兼容性以及安全问题;防火墙和代理服务器通常会阻止此类流量。

Communicating between applications via HTTP is a better method, because HTTP is supported by all Internet browsers and servers. SOAP was created to complete this task.

SOAP provides a standard method for applications running on different operating systems and using different technologies and programming languages to communicate with each other.

Microsoft and SOAP

SOAP is a key element of Microsoft .net architecture for future Internet application development.

SOAP 1.1 was submitted to W3C

In May 2000, UserLand, Ariba, Commerce One, Compaq, Developmentor, HP, IBM, IONA, Lotus, Microsoft, and SAP submitted the SOAP Internet Protocol to W3C, expecting this protocol to revolutionize application development by connecting graphical user interface desktop applications to powerful Internet servers using Internet standards (HTTP and XML).

W3C is developing SOAP 1.2

The first public working draft about SOAP was released by W3C in December 2001. For more information about W3C SOAP events, please visit ourW3C Tuition》。