< Day Day Up > |
SOAP [5] is a simple, lightweight, and extendable XML-based mechanism for exchanging structured data between network applications on top of widely used Internet standards, such as XML, and transport-independent protocols. SOAP consists of two parts :
SOAP can be used in combination with, or reenveloped by, a variety of network protocols, such as HTTP, RMI-IIOP, SMTP, and FTP. However, the only bindings we refer to in this chapter are SOAP in combination with HTTP and HTTP Extension Framework. [6] SOAP is designed to support a modular architecture rather than to be a complete silo like other protocols, such as DCE and CORBA.
A SOAP envelope is used to wrap a SOAP message. A SOAP envelope is defined in an Envelope XML element and enables one to add a large variety of metainformation to the message, such as transaction IDs, message-routing information, and message security. The modular architecture of SOAP allows routing and security technologies to be defined in separate documents: the Web Services Addressing specification (WS-Addressing) and the Web Services Security specification (WS-Security), respectively. A SOAP envelope consists of two parts: an optional SOAP header, defined in the Header subelement, and a mandatory SOAP body, defined in the Body subelement.
Thus, SOAP can be considered to introduce another layer between the transport layer ”for example, HTTP ”and the application layer ”for example, business data ”and the SOAP header makes a convenient place for conveying message metainformation and the application payload. |
< Day Day Up > |