![]() |
![]() |
|
![]() |
![]() |
Encyclopedia :
S :
SO :
SOA :
SOAP |
|
|
SOAP
SOAP messages are based on XML formatting and are usually sent using HTTP. SOAP technical detailSOAP is a protocol for exchanging messages between computer software, typically in the form of software componentry. The word object implies that the use should adhere to the object-oriented programming paradigm.SOAP is an extensible and decentralized framework that can work over multiple network protocol stacks. Remote procedure calls can be modeled as an interaction of several SOAP messages. SOAP is one of the enabling protocols for Web services, and is derived from XML-RPC, another of those protocols. SOAP originally was an acronym for Simple Object Access Protocol. (This acronym was dropped in Version 1.2 of the SOAP specification.) Designed by Microsoft and IBM, the SOAP specification is currently maintained by the XML Protocol Working Group of the World Wide Web Consortium. SOAP can be run on top of all the Internet Protocols, but HTTP is the most common and the only one standardized by the W3C. SOAP is based on XML, and its design follows the Head-Body software pattern, like HTML. The optional Header contains meta-information such as information for routing, security, and transactions. The Body transports the main information, sometimes known as the payload. The payload is compliant with an XML Schema. Example SOAP messagesBy way of example, here is how a client might format a SOAP message requesting product information from a fictional warehouse web service: Here is how the warehouse web service might format its reply message with the requested product information: Transport MethodsHTTP was chosen as the primary transport protocol since it works well with today's Internet infrastructure, in particular firewalls. This is a major advantage over other distributed protocols like GIOP/IIOP or DCOM which are normally filtered by firewalls. XML was chosen as the message format because of its widespread acceptance by major corporations and Open Source development efforts. Additionally, a wide variety of freely available tools significantly ease the transition to SOAP-based implementations. However, the somewhat lengthy XML syntax can also be a drawback. For example, GIOP and DCOM use much shorter, binary message formats. On the other hand, hardware appliances are available to accelerate processing of XML messages. "XML Binary" is also being explored as a means for streamlining the throughput requirements of raw (text) XML. See alsoRelated technologiesAlternatives to SOAPExternal links
|
|
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License. |
|
| © 2008 Chamas Enterprises Inc. |