What is SOAP?

What is SOAP?

February 5, 2019
3 min read
866 views
0

What is SOAP?

SOAP stands for Simple Object Access Protocol. It is an XML-based messaging protocol for exchanging information among computers. It defines a set of rules for structuring messages that can be used for simple one-way messaging but is particularly useful for performing Remote Procedure Call (RPC), request-response dialogues. It is not tied to any particular transport protocol though HTTP and SMTP are popular. Nor is it tied to any particular operating system or programming language so theoretically the clients and servers in these dialogues can be running on any platform and written in any language as long as they can formulate and understand SOAP messages.

Since Web protocols are installed and available for use by all major operating system platforms, HTTP and XML provide an at-hand solution that allows programs running under different operating systems in a network to communicate with each other. SOAP specifies exactly how to encode an HTTP header and an XML file so that a program in one computer can call a program in another computer and pass along information. SOAP also specifies how the called program can return a response.

Although SOAP can be used in a variety of messaging systems and can bedelivered via a variety of transport protocols, the initial focus ofSOAP is remote procedure calls transported via HTTP.

SOAP has major characteristics:

  • Extensibility (security and WS-Addressing are among the extensions under development)

  • Neutrality (SOAP can operate over any protocol such as HTTP, SMTP, TCP, UDP, or JMS)

  • Independence (SOAP allows for any programming model)

  • SOAP provides simplified communications through proxies and firewalls.

Other frameworks including CORBA, DCOM, and Java RMI provide similar functionality to SOAP, but SOAP messages are written entirely in XML and are therefore uniquely platform and language-independent.

SOAP calls are much more likely to get through firewall servers, since HTTP is typically Port 80 compliant, where other calls may be blocked for security reasons. Since HTTP requests are usually allowed through firewalls, programs using SOAP to communicate with programs anywhere.

Though SOAP is platform and language independent, but it is typically much slower than other types of middleware standards. This due to the fact that SOAP uses a verbose XML format. SOAP is typically limited to pooling, and not event notifications, when leveraging HTTP for transport.

SOAP has different levels of support, depending upon the programming language supported. For example, SOAP support within Python and PHP is not as strong as it is within Java and .NET.

Was this article helpful?Vote to let the author know
0
Share this article

Loading comments...

Related Articles

Cloud Hosting India: Which Provider is the Best? Complete Guide

Cloud Hosting India: Which Provider is the Best? Complete Guide

Cloud hosting uses a network of interconnected servers rather than relying on a single physical machine. Your website or application runs on virtualized infrastructure, allowing resources such as CPU, RAM, storage, and networking to be allocated according to workload requirements

8 views
Read More
Read full article: Cloud Hosting India: Which Provider is the Best? Complete Guide
How to Connect a Headless CMS to Your React App

How to Connect a Headless CMS to Your React App

React remains the most-used JavaScript framework, with the State of JS 2025 survey putting adoption at 83.6%. A growing share of that base pairs React with a react js cms rather than hardcoding content.

123 views
Read More
Read full article: How to Connect a Headless CMS to Your React App