ソープ【SOAP】
SOAP ソープ
【英】 Simple Object Access Protocol
非集中、分散環境における情報交換のための軽量のプロトコル。Simple Object Access Protocolの略。SOAPはデータ構造のみが規定されており、ベースにはXMLを用いている為、プログラミング言語やプラットフォームに依存しないようになっている。バージョン1.0では下位プロトコルにHTTPのみしか利用できなかったが、1.1ではHTTPはもちろん、暗号化通信のHTTPS、メール通信のSMTP、及びファイルの転送に用いられるFTP等の様々なプロトコルから選択することができる。すでに広く普及しているプロトコルを利用するため、企業間利用においても、ファイルやウォールなどを安全に通過させることができる。SOAPの構成は、ルート要素となる必須の「SOAPエンベロープ」、メッセージの管理に関するデータを格納する「任意のSOAPヘッダ」及び、メインの通信内容を格納する「SOAPボディ」の3つとなっている。
PHPではNuSOAPやPEAR::SOAPなどを使うことで、SOAPプロトコル通信を行える。
関連Webサイト
SOAP
SOAPとは、遠隔地にあるコンピューターのプログラムやデータにアクセスするためのプロトコルのことである。インターネット上に公開された認証機能や課金機能といった個々の機能を呼び出すために用いられる。
SOAPはXMLやHTTPなどをベースとしている。XMLで記述したエンベロープ(封筒)と呼ばれる付帯情報が付いたSOAPメッセージが、HTTPやSMTPなどのトランスポート層に属するプロトコルで交換される。サービスを利用するクライアントと、サービスを提供するサーバーの双方が、SOAPの生成と解釈を行うエンジンを持つことで、異なる環境間でも機能が呼び出せるようになっている。ちなみに、SOAPメッセージの生成エンジンは「SOAPプロキシ」、解釈エンジンは「SOAPリスナー」と呼ばれることもある。
SOAP 1.0では実際にデータの送受信に用いることのできる下位プロトコルはHTTPのみとなる。バージョン1.1では、HTTPやSMTP、FTPなどの、すでに広く普及しているプロトコルから選択できるようになっており、企業間で利用する場合でもファイヤーウォールなどを安全に通過させることができる。
SOAPによって外部からの利用が可能な、部品化されたWebベースのアプリケーションソフトが、Webサービスと呼ばれる。特に、インターネット上で各社が提供しているWebサービスを収集し、誰でも検索・照会できるようにするWebサービスは、UDDIと呼ばれる。
SOAPは、MicrosoftやUserLand Software、Developmentorの各社を中心として開発され、W3Cに提出されている。IBMやLotusなど、大手ソフトウェアメーカーも自社製品での対応を表明している。
なお、「SOAP」の名称は元々「Simple Object Access Protocol」の頭文字とされ、後に「Service Oriented Architecture Protocol」の頭文字であるという解釈も提示されたが、現在では「SOAP」は何かの略称ではなく単に「SOAP」である、という見解に至っている。
SOAP (プロトコル)
(simple object access protocol から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/01/02 09:37 UTC 版)
SOAP(ソープ)は、コンピュータネットワーク内のWebサービスの実装において、構造化された情報を交換するための通信プロトコルの仕様である。拡張性、中立性、独立性を導入することを目的とする。XML-RPCから発展した、XML Webサービスのための、XMLベースのRPCプロトコルである。
- ^ 「In previous versions of this specification the SOAP name was an acronym. This is no longer the case.」(SOAP Version 1.2 Part 1 : Messaging Framework (Second Edition)より引用)。
- ^ Hirsch, Frederick; Kemp, John; Ilkka, Jani (2007-01-11). Mobile Web Services: Architecture and Implementation. John Wiley & Sons (2007発行). p. 27. ISBN 9780470032596 2014年9月15日閲覧. "Simple Object Access Protocol (SOAP) はメッセージの小包の構造を定義している。小包は、アプリケーション用の荷物(メッセージ・ボディ)と、管理情報(メッセージ・ヘッダ)の二つの部分で構成される。"
- ^ "SOAP provides a distributed processing model that assumes a SOAP message originates at an initial SOAP sender and is sent to an ultimate SOAP receiver via zero or more SOAP intermediaries. ... A SOAP node receiving a SOAP message MUST perform processing according to the SOAP processing model" W3C. SOAP 1.2 specification.
- ^ "SOAP message The basic unit of communication between SOAP nodes." W3C. SOAP 1.2 specification.
- ^ "A SOAP message Infoset consists of a document information item with exactly one member in its [children] property, which MUST be the SOAP
Envelope
element information item" W3C. SOAP 1.2 specification. - ^ "One or two element information items in its [children] property in order as follows: 1. An optional
Header
element ... 2. A mandatoryBody
element" W3C. SOAP 1.2 specification. - ^ "SOAP header A collection of zero or more SOAP header blocks" W3C. SOAP 1.2 specification.
- ^ "MAY have zero or more attribute information items in its [attributes] property ... which have special significance for SOAP processing: encodingStyle ... role ... mustUnderstand ... relay" W3C. SOAP 1.2 specification.
- ^ "A SOAP node can be the initial SOAP sender, an ultimate SOAP receiver, or a SOAP intermediary." W3C. SOAP 1.2 specification.
- ^ "An ultimate SOAP receiver MUST correctly process the immediate children of the SOAP body" W3C. SOAP 1.2 specification.
- 1 SOAP (プロトコル)とは
- 2 SOAP (プロトコル)の概要
- 3 概要
- 4 SOAPメッセージの例
- 5 関連項目
「Simple Object Access Protocol」の例文・使い方・用例・文例
- simple object access protocolのページへのリンク