当前位置: 首页 > 网络学院 > XML相关教程 > SOAP > SOAP 介绍

SOAP
SOAP 介绍
SOAP 语法
SOAP Envelope
SOAP Header
SOAP Body
SOAP Fault
SOAP HTTP Binding
SOAP 实例
SOAP 总结

SOAP 介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 711 ::
收藏到网摘: n/a

SOAP is a simple XML based protocol to let applications exchange information over HTTP.
SOAP是一个简单的基于XML的协议,它让应用程序跨HTTP进行信息交换。

Or more simply: SOAP is a protocol for accessing a Web Service.
或者更简单地说:SOAP是用于访问网络服务的协议。


What You Should Already Know
你应该具备的知识

Before you study SOAP you should have a basic understanding of XML and XML Namespaces.
在你学习SOAP 之前,你应该对XML和XML命名空间有一个基本的了解。

If you want to study these subjects first, please read our XML Tutorial.
如果你希望首先学习这些项目,请先访问我们的XML 教程


What is SOAP?
什么是SOAP?

  • SOAP stands for Simple Object Access Protocol
    SOAP 指简易对象访问协议
  • SOAP is a communication protocol
    SOAP 是一种通信协议
  • SOAP is for communication between applications
    SOAP 用于应用程序之间的通信
  • SOAP is a format for sending messages
    SOAP 是一种用于发送消息的格式
  • SOAP is designed to communicate via Internet
    SOAP 被设计用来通过因特网进行通信
  • SOAP is platform independent
    SOAP 独立于平台 
  • SOAP is language independent
    SOAP 独立于语言 
  • SOAP is based on XML
    SOAP 基于 XML
  • SOAP is simple and extensible
    SOAP 很简单并可扩展
  • SOAP allows you to get around firewalls
    SOAP 运许您绕过防火墙
  • SOAP will be developed as a W3C standard
    SOAP 将被作为 W3C 标准来发展

Why SOAP?
为什么使用SOAP?

It is important for application development to allow Internet communication between programs.
对于应用程序开发来说,使程序之间进行因特网通信是很重要的。

Today's applications communicate using Remote Procedure Calls (RPC) between objects like DCOM and CORBA, but HTTP was not designed for this. RPC represents a compatibility and security problem; firewalls and proxy servers will normally block this kind of traffic.
目前的应用程序通过使用远程过程调用(RPC)在诸如 DCOM 与 CORBA 等对象之间进行通信,但是 HTTP 不是为此设计的。RPC 会产生兼容性以及安全问题;防火墙和代理服务器通常会阻止此类流量。

A better way to communicate between applications is over HTTP, because HTTP is supported by all Internet browsers and servers. SOAP was created to accomplish this.
通过HTTP 在应用程序间实现通信是更好的方法,因为 HTTP 被所有的因特网浏览器及服务器支持。SOAP 就是被创造出来完成这个任务的。

SOAP provides a way to communicate between applications running on different operating systems, with different technologies and programming languages.
SOAP 提供了一种标准的方法,使得运行在不同的操作系统并使用不同的技术和编程语言的应用程序可以互相进行通信。


Microsoft and SOAP
微软和SOAP

SOAP is a key element of Microsoft's .NET architecture for future Internet application development.
SOAP 是微软 .net 架构的关键元素,用于未来的因特网应用程序开发。


SOAP 1.1 was Proposed to W3C
SOAP1.1被提交到W3C

UserLand, Ariba, Commerce One, Compaq, Developmentor, HP, IBM, IONA, Lotus, Microsoft, and SAP proposed to W3C, in May 2000, the SOAP Internet protocol that they hope will revolutionize application development by connecting graphic user interface desktop applications to powerful Internet servers using the standards of the Internet: HTTP and XML.
在 2000 年 5 月,UserLand、Ariba、Commerce One、Compaq、Developmentor、HP、IBM、IONA、Lotus、Microsoft 以及 SAP 向 W3C 提交了 SOAP 因特网协议,这些公司期望此协议能够通过使用因特网标准(HTTP 以及 XML)把图形用户界面桌面应用程序连接到强大的因特网服务器,以此来彻底变革应用程序的开发。


W3C is Working on SOAP 1.2
W3C将在SOAP 1.2上运行

The first public Working Draft on SOAP was published from W3C in December 2001. To read more about the SOAP activities at W3C please visit our W3C tutorial.
首个关于 SOAP 的公共工作草案由 W3C 在 2001 年 12 月发布。如需阅读更多有关在 W3C 的 SOAP 活动的内容,请访问我们的W3C 教程

评论 (4) 1 All

登陆 | 还没注册?