Using SOAP Encoding in SOAP Messages

This section describes an example on how SOAP Encoding can be used in SOAP messages.

SOAP encoding can be used in SOAP header blocks and SOAP bodies by specifying the SOAP "encodingStyle" attribute as encodingStyle="". Here is a SOAP message example with SOAP encoding:

<?xml version="1.0"?>
<env:Envelope xmlns:env="">
  <h:expense xmlns:h=""

  <b:travel enc:nodeType="struct" xmlns:b="">
   <b:currency enc:id="euro">
  <b:shopping enc:nodeType="struct" xmlns:b="">
   <b:currency enc:ref="#euro"/>
   <b:paris enc:nodeType="array" enc:arraySize="3"

Last update: 2007.

Table of Contents

 About This Book

 Introduction to Web Service

 Introduction to SOAP (Simple Object Access Protocol)

 SOAP Message Structure

 SOAP Message Transmission and Processing

 SOAP Data Model

SOAP Encoding

 What Is SOAP Encoding?

 Multiple References and Circular References

 Node Types - simple, struct, array

 SOAP Encoding Attributes and Namespace

Using SOAP Encoding in SOAP Messages

 SOAP RPC Presentation

 SOAP Properties Model

 SOAP Message Exchange Patterns

 SOAP HTTP Binding

 SOAP Perl Implementations

 SOAP PHP Implementations

 SOAP Java Implementations

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

 Perl Socket Test Program for HTTP and SOAP

 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

 PHP SOAP Extension Client Programs

 PHP SOAP Extension Server Programs

 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

 Web Services and SOAP Terminology


 PDF Printing Version