How Does Simple Object Access Protocol Work?

How Does Simple Object Access Protocol Work? thumbnail
SOAP is a protocol for Internet messaging

SOAP, the Simple Object Access Protocol is a messaging format designed to enable Internet applications to communicate and interoperate. SOAP was jointly created by Microsoft, IBM, DevelopMentor consulting, and UserLand software, in April, 2000. SOAP is a platform and language independent protocol that was created for Internet-based communications. While SOAP may seem complex, it really is just a format for sending messages.

  1. HTTP and SOAP

    • The SOAP specification dictates that SOAP messages may be carried over HTTP, the hypertext transport protocol, either with or without the accompanying HTTP Extension Framework. In either case, use of HTTP for transfer of SOAP messages makes the process both decentralized and feature-rich. The addition of the HTTP Extension Framework adds additional layers of information during the exchange of messages. Messages passed in this manner carry additional information indicating both the presence of an incoming HTTP request, and the purpose of the exchange. SOAP's use of HTTP makes it inherently firewall friendly. HTTP is a common Internet protocol, allowed through firewalls.

    XML and SOAP

    • According to Inder Nandrajog, of the New Jersey Institute of Technology's Information Systems Department, XML can be considered the basic building block of SOAP. The ultimate purpose of a SOAP message is to execute a Remote Procedure Call, or RPC, on the receiving system. SOAP messages are XML documents which contain a mandatory SOAP envelope, an optional SOAP header, and a mandatory SOAP body.

    Message Components

    • The envelope is the topmost part of the XML document, and identifies it as a SOAP message. A message's SOAP envelope uses the namespace identifier, "http://schemas.xmlsoap.org/soap/envelope/." The SOAP header is a means of adding features to a SOAP message without prearranged negotiation. Headers attributes can dictate which party is responsible for the feature, and whether processing it is required. The SOAP body contains one mandatory item, the Fault element. This is used to report any errors in transmission or processing to the message's ultimate recipient.

    Potential Benefits

    • SOAP has many potential benefits. SOAP was designed for use by anyone in the IT industry. It relies on open technologies like XML and HTTP, making it viable for even the smallest companies' development efforts. The SOAP protocol encourages platform interoperability. Different pieces of a larger SOAP based solution can be on entirely different operating systems, and still integrate seamlessly. SOAP's designers were forward thinking. While SOAP was initially created to work over HTTP, its specification does not require it. SOAP can be used over any transport protocol. Furthermore, the inherently loosely coupled nature of SOAP systems means that individual subsystems can be modified and upgraded without impacting other subsystems.

    Potential Disadvantages

    • The SOAP specification is a protocol specification, not a system one. The SOAP specification dictates how messages are passed, and what they contain, but not who can see them, or when. There is no provision for message security. SOAP message data is serialized data, which is passed by value, as opposed to by reference. Because of this, there is the potential for synchronization errors. It's possible that multiple copies of the same objects could be passed simultaneously. Member systems of SOAP applications should account for this during message transfer.

Related Searches:

References

Resources

  • Photo Credit web puzzle image by João Freitas from Fotolia.com

Comments

You May Also Like

  • The SOAP Access Protocol

    Simple Object Access Protocol (SOAP) is a standard for messaging structures. These messages are passed between dissimilar applications over a network. The...

  • How Does Soap Work?

    Soap works by separating polar and non-polar molecules, such as water and grease, allowing the dirt and grime to be rinsed away...

  • Network Access Protocol

    In networking terminology, a protocol refers to the set of regulations devised for communication sessions to run in a standardized manner. In...

  • How to Create Company Protocols

    Creating a company protocol is serious business and takes a great deal of work to do well. Whether you are taking the...

  • The Advantages of Protocols

    The Advantages of Protocols. A protocol describes a set of rules or procedures that a given task must follow. It identifies the...

  • How to View Soap Messages

    SOAP stands for Simple Object Access Protocol and is a defined standard communications protocol used for exchanging information between Web services. SOAP...

  • What Is Soap Protocol?

    SOAP (Simple Object Access Protocol) is an XML-based (eXtensible Markup Language) protocol designed to let applications exchange information over HTTP. It is...

  • How to Access an XML Web Service Using HTTP-GET Protocol

    A web service is a proxy between a web application and the internal process. For instance, a web service retrieves commands and...

  • How to Understand Internet Protocol

    Understanding Internet protocol is the first step in understanding how communication and data-sharing take place on the World Wide Web. Like much...

  • Web Service Protocol

    "The Web" is the specific transport of files over the Internet for display on users' computers. The Web Service Protocol, usually known...

  • What Is the SMPP Protocol?

    SMPP, or Short Message Peer to Peer Protocol, is a set of electronic communication standards used between two devices. When you send...

  • Web Proxy Protocol

    Corporate networks are protected by firewalls. To reach out through the firewall to the Internet requires a proxy server. Every browser must...

  • How to Make Homemade Soap

    This soap is a pleasure to give - and to receive.

  • How to Do a 10-Step Protocol in CranioSacral Therapy

    The 10-step protocol in craniosacral therapy helps practitioners ensure that the 10 aspects of wellness are being addressed. Each step lies alongside...

  • How to Become a Soap Writer

    So you want to be a soap opera writer. Breaking into the industry isn't as easy but there are some ways in...

  • Carrier Sense Multiple Access Protocol

    The Carrier Sense Multiple Access Control (CSMA) Protocol is a Media Access Control (MAC) system. It operates when a sender wishes to...

Related Ads

Featured