Web サービス プロトコルの相互運用性ガイド

Windows Communication Foundation (WCF) では、さまざまな Web サービス プロトコルが実装されます。 これらのプロトコルの多くには、さまざまなオプションと拡張ポイントが用意されており、それらの実装は実装者の裁量に任されています。 この記事では、WCF で実装される Web サービス プロトコルの一覧を示します。 サポートされる各プロトコルの実装の詳細については、このセクションの他の記事で説明します。

WCF で実装される Web サービス プロトコル

WCF では、チャネルを通じて Web サービス (WS) のインフラストラクチャ プロトコルが、またコントラクト機能を通じて Web サービスのアプリケーション プロトコルがサポートされます。 アプリケーション プロトコルの相互運用性は、XML スキーマ記述言語 (XSD) 1.0 と Web サービス記述言語 (WSDL) 1.1 を通じて実現されます。

インフラストラクチャ プロトコルの相互運用性は、WS-* 仕様によって提供されます。 WCF チャネルでは、さまざまな WS-* インフラストラクチャ プロトコルがサポートされています。 WCF チャネルは、バインディング要素を使用して構成されます。 さまざまな WCF バインディング要素によって実装される WS-* インフラストラクチャ プロトコルの全一覧を次の表に示します。

HttpTransportBindingElement は、次の表の仕様をサポートします。

仕様/ドキュメント Link
HTTP 1.1 RFC 2616
SOAP 1.1 HTTP バインディング Simple Object Access Protocol (SOAP) 1.1、セクション 7
SOAP 1.2 HTTP バインディング SOAP Version 1.2 Part 2: Adjuncts (Second Edition)、セクション 7

TextMessageEncodingBindingElement および MtomMessageEncodingBindingElement は、次の表の仕様をサポートします。

仕様/ドキュメント Link
XML Extensible Markup Language (XML) 1.0 (Fourth Edition)
SOAP 1.1 Simple Object Access Protocol (SOAP) 1.1
SOAP 1.2 コア SOAP Version 1.2 Part 1: Messaging Framework (Second Edition)
WS-Addressing 2004/08 Web Services Addressing (WS-Addressing)
W3C Web Services Addressing 1.0 - コア Web Services Addressing 1.0 - Core
W3C Web Services Addressing 1.0 - SOAP バインディング Web Services Addressing 1.0 - SOAP Binding
W3C Web Services Addressing 1.0 - WSDL バインディング* Web Services Addressing 1.0 - WSDL Binding
W3C Web Services Addressing 1.0 - メタデータ Web Services Addressing 1.0 - Metadata
WSDL SOAP1.1 バインディング Web Services Description Language (WSDL) 1.1
WSDL SOAP1.2 バインディング WSDL 1.1 Binding Extension for SOAP 1.2

MtomMessageEncodingBindingElement は、次の表の仕様をサポートします。

仕様/ドキュメント Link
XOP XML-binary Optimized Packaging
MTOM + SOAP1.2 バインディング SOAP Message Transmission Optimization Mechanism
MTOM SOAP 1.1 バインディング SOAP 1.1 Binding for MTOM 1.0
MTOM WS-Policy アサーション MTOM シリアル化ポリシー アサーション (WS-MTOMPolicy)

SecurityBindingElement は、次の表の仕様をサポートします。

仕様/ドキュメント Link
WSS SOAP Message Security 1.0 Web Services Security: SOAP Message Security 1.0
WSS: Username Token Profile 1.0 Web Services Security UsernameToken Profile 1.0

Password/@Type=PasswordText (既定) が必要です。
WSS: X.509 Token Profile 1.0 Web Services Security X.509 Certificate Token Profile
WSS: SAML 1.1 Token Profile 1.0 Web Services Security: SAML Token Profile
WSS SOAP Message Security 1.1 Web Services Security: SOAP Message Security 1.1
WSS Username Token Profile 1.1 Web Services Security UsernameToken Profile 1.1

パスワード ベースのキー派生は実装していません。

Password/@Type=PasswordText (既定) が必要です。
WSS: X509 Token Profile 1.1 Web Services Security X.509 Certificate Token Profile 1.1
WSS: Kerberos Token Profile 1.1 Web Services Security Kerberos Token Profile 1.1
WSS: SAML 1.1 Token Profile 1.1 Web Services Security SAML Token Profile 1.1
WS-SecureConversation Web Services Secure Conversation Language
WS-Trust 1.4 Web Services Trust Language
WS-SecurityPolicy 2005/07 Web Services Secure Conversation Language

OASIS WS-SX 技術委員会に提出された正誤表で修正されています。

ws-sx message
WS-ReliableMessaging 1.1 信頼できるメッセージング プロトコル バージョン 1.1

TransactionFlowBindingElement は、次の表の仕様をサポートします。

仕様/ドキュメント Link
WS-Coordination Web Services Coordination
WS-AtomicTransaction Web Services Atomic Transaction

MetadataExporterMetadataImporterWsdlExporterWsdlImporter、および MetadataResolver の各クラスは、次のメタデータ仕様をサポートします。

さらに、次の相互運用性プロファイルが WCF 間で実装されます。

関連項目