What Is SOAP

This section provides a quick summary of SOAP protocol.

What Is SOAP (Simple Object Access Protocol)? SOAP is an XML based protocol intended for exchanging structured information in a distributed application environment. Visit https://www.w3.org/TR/soap/ for more information.

There are 2 versions of SOAP specifications as of today:

Version    Release Date     Namespace

SOAP 1.2   April 27, 2007   http://www.w3.org/2003/05/soap-envelope
SOAP 1.1   May 8, 2000      http://schemas.xmlsoap.org/soap/envelope/

SOAP 1.2 specification is divided into two parts.

SOAP part 1 defines the SOAP messaging framework, which contains the following key concepts:

SOAP part 2 defines a set of adjuncts that can be used to extend the SOAP messaging framework:

SOAP is actually a communication protocol that defines how a message should be constructed, transmitted from one node to another, and processed by each node as shown in the following diagram:

SOAP node          
 |
 | Construct an initial SOAP message
 | Bind the initial message for transmission
 | Transmit the initial message
 v
 ----------> SOAP node
              |  
              | Receive the initial message
              | Process some part of the initial message
              | Reconstruct an intermediate SOAP message
              | Bind the intermediate message for transmission
              | Transmit the intermediate message
              v
              ----------> SOAP node
                           |
                           | ...
                           v
                           ----------> SOAP node 
                                        |
                                        | Receive the final message
                                        | Process the final message
                                        v
                                        Done 

Last update: 2018.

Table of Contents

 About This Book

 Introduction to Web Service

Introduction to SOAP (Simple Object Access Protocol)

What Is SOAP

 SOAP Communication Example

 SOAP Message Structure

 SOAP Message Transmission and Processing

 SOAP Data Model

 SOAP Encoding

 SOAP RPC Presentation

 SOAP Properties Model

 SOAP MEP (Message Exchange Patterns)

 SOAP HTTP Binding

 SOAP PHP Implementations

 PHP SOAP Extension Client Programs

 PHP SOAP Extension Server Programs

 PHP SOAP Web Service Example - getTemp

 SOAP Perl Implementations

 Perl SOAP::Lite - SOAP Server-Client Communication Module

 Perl Socket Test Program for HTTP and SOAP

 Perl SOAP::Lite for NumberToWords SOAP 1.1 Web Service

 Perl SOAP::Lite for SOAP 1.2 Web Services

 Perl SOAP::Lite for WSDL

 SOAP Java Implementations

 Java Socket and HttpURLConnection for SOAP

 SAAJ - SOAP with Attachments API for Java

 SoapUI - SOAP Web Service Testing Tool

 WS-Security - SOAP Message Security Extension

 WS-Security X.509 Certificate Token

 Perl SOAP::Lite for GetSpeech SOAP 1.1 Web Service

 Perl SOAP::Lite 0.710 for SOAP 1.2 Web Services

 Perl SOAP::Lite 0.710 for WSDL

 Web Services and SOAP Terminology

 Outdated Tutorials

 References

 Full Version in PDF/EPUB