Directory

Encyclopedia

NodeWorks
                              ENCYCLOPEDIA

Link Checker

Home
Encyclopedia : S : SO : SOA :

SOAP

 

SOAP

This article is about a computer protocol. For the common cleaning mixture, see Soap. For other uses of the acronym SOAP, see Soap (disambiguation).

SOAP in brief

SOAP is a method or vocabulary that enables different kinds of software to exchange messages over networks.

This allows for a given computer program to gather information from various other programs, modify it, and present it to the user as desired, without needlessly duplicating the functionality of those other programs. It also allows for software on different computer plaforms (e.g. Windows, Linux, Mac, etc.) to pass information back and forth.

SOAP messages are based on XML formatting and are usually sent using HTTP.

SOAP technical detail

SOAP 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 messages

By way of example, here is how a client might format a SOAP message requesting product information from a fictional warehouse web service:

827635

Here is how the warehouse web service might format its reply message with the requested product information:

Toptimate 3-Piece Set 827635 3-Piece luggage set. Black Polyester. 96.50 true

Transport Methods


HTTP 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 also

Related technologies

  • Component technologies
  • Web service and some of its core technologies WSDL, UDDI
  • WS-I Basic Profile
  • List of Web service markup languages
  • Comparison of Web service markup languages

    Alternatives to SOAP

  • REST
  • XML-RPC
  • Burlap [1] [1]

    External links

  • What is SOAP? (Flash presentation; requires plugin.)
  • W3C SOAP primer
  • XML protocol activity
  • Technology Report
  • Two-way SOAP to CORBA bridge
  • Discussion on Web Services technology (SOAP and REST)
  • Perl SOAP Module
  • Category at ODP



  • NodeWorks boosts web surfing!
    Page Returned in 1.042 seconds - HTML Compressed 68.8%

    This article is from Wikipedia. All text is available
    under the terms of the GNU Free Documentation License.
     GNU Free Documentation License
    © 2008 Chamas Enterprises Inc.