Table of Contents

SOAP Cheat Sheet

SOAP is a popular protocol for accessing a web service. My interest in this arose when I needed to schedule a web service using the Oracle Scheduler. This SOAP client had to be written from scratch using PL/SQL so I needed to become familiar with the protocol first.

This is a summarized form of the SOAP Tutorial.

SOAP is an XML dialect so the XML Cheat Sheet might be useful and in particular the XML Namespaces section .

For reference here are the SOAP Specifications .

Messages

<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
 
<soap:Header> ... </soap:Header>
<soap:Body>
  ...
  <soap:Fault> ... </soap:Fault>
</soap:Body>
 
</soap:Envelope>

Envelopes

Fault Elements

The optional SOAP Fault element is used to hold error and status information for a SOAP message. It can have the following sub-elements :