程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> .NET網頁編程 >> C# >> C#入門知識 >> SOAP Version 1.2中文手冊1

SOAP Version 1.2中文手冊1

編輯:C#入門知識

 

 

SOAP Version 1.2

W3C Working Draft 9 July 2001

英文版:
http://www.w3.org/TR/2001/WD-soap12-20010709/
英文版的最後版:
http://www.w3.org/TR/soap12/
英文版編輯:
Martin Gudgin (DevelopMentor)
Marc Hadley (Sun Microsystems)
Jean-Jacques Moreau (Canon)
Henrik Frystyk Nielsen (Microsoft Corp.)
 
中文版:
http://www.uddi-china.org/pubs/misc/soap12.htm
中文版編輯:
柴曉路, Fennivel Chai (DealEasy)
中文版貢獻者:
許佑駿, Arthor Xu (DealEasy)
 

Abstract

SOAP 1.2為在一個松散的、分布的環境中使用XML對等地交換結構化的和類型化的信息提供了一個簡單且輕量級的機制。這是一個基於XML的協議,同時它由四部分組成: 一個作為描述在消息中的內容以及如何處理消息的信息框架的信封(envelope),一組用於表示應用定義的數據類型的編碼規則(encoding rules),一個用於表示遠程過程調用和返回的約定以及一個使用底層協議進行消息交換的綁定(binding)約定。潛在地,SOAP可以與很多其他的協議綁定使用;不過,在本文檔中,只定義了SOAP與HTTP已經SOAP與HTTP Extension Framework的綁定。

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. The latest status of this document series is maintained at the W3C.

This is the first W3C Working Draft of the SOAP version 1.2 specification for review by W3C members and other interested parties. It has been produced by the XML Protocol Working Group (WG), which is part of the XML Protocol Activity.

The XML Protocol Protocol Working Group has, in keeping with its charter, produced a set of requirements and usage scenarios that have been published as a Working Draft. To better evaluate SOAP/1.1 against these requirements and usage scenarios, the Working Group has produced an abstract model and a glossary of terms and concepts used by the Working Group. In addition, the Working Group has produced an issues list that describes issues and concerns raised by mapping its requirements and the XMLP abstract model against the SOAP/1.1 specification as well as issues raised on the <[email protected]> mailing list against SOAP/1.1.

The current name for this specification is SOAP version 1.2, this first Working Draft being based on SOAP/1.1 as per the Working Groups charter (see change log in appendix D)

Comments on this document should be sent to [email protected] (public archives). It is inappropriate to send discussion emails to this address.

Discussion of this document takes place on the public <[email protected]> mailing list (Archives) per the email communication rules in the XML Protocol Working Group Charter.

This is a public W3C Working Draft. It is a draft document and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use W3C Working Drafts as reference material or to cite them as other than "work in progress". A list of all W3C technical reports can be found at http://www.w3.org/TR/.

Table of Contents

1. 引言
1.1 設計目標
1.2 符號約定
1.3 SOAP消息示例
1.4 SOAP術語
1.4.1 協議概念
1.4.2 數據封裝概念
1.4.3 消息發送者和接收者概念
1.4.4 數據編碼概念
2. SOAP消息交換模型
2.1 SOAP結點
2.2 SOAP角色與SOAP結點
2.3 定位SOAP Header條目
2.4 理解SOAP Header
2.5 處理消息
3. 與XML的關系
4. SOAP信封
4.1.1 SOAP encodingStyle屬性
4.1.2 Envelope版本模型
4.2 SOAP Header
4.2.1 使用Header屬性
4.2.2 SOAP actor屬性
4.2.3 SOAP mustUnderstand屬性
4.3 SOAP Body
4.3.1 SOAP Header和Body的關系
4.4 SOAP錯誤
4.4.1 SOAP錯誤代碼
4.4.2 MustUnderstand錯誤
5. SOAP編碼
5.1 使用XML進行類型編碼的規則
5.2 簡單類型
5.2.1 字符串
5.2.2 枚舉
5.2.3 字節數組
5.3 多態存取標識
5.4 復合類型
5.4.1 復合值及對值的引用
5.4.2 數組
5.4.2.1 部分傳輸數組
5.4.2.2 稀疏數組
5.4.3 通用復合類型
5.5 默認值
5.6 SOAP root屬性
6. 在HTTP中使用SOAP
6.1 SOAP HTTP請求
6.1.1 HTTP Header中的SOAPAction字段
6.2 SOAP HTTP響應
6.3 HTTP擴展框架
6.4 SOAP HTTP示例
7. 在RPC中使用SOAP
7.1 RPC和SOAP Body
7.2 RPC和SOAP Header
  1. 上一頁:
  2. 下一頁: