Perl SOAP::Lite for SOAP 1.2 Web Services

This chapter provides tutorial examples and notes on using SOAP::Lite for SOAP 1.2 Web services. Topics include installing SOAP 7.10; testing methods available on client objects; using soapversion() and envprefix() to generate SOAP 1.2 requests; using default_ns() to set default namespace; using DEFAULT_HTTP_CONTENT_TYPE constant to fix content type header line.

Message Styles Supported in SOAP::Lite

Methods on SOAP::Lite Client Object

Testing SOAP::Lite Client Objects

Differences between SOAP 1.1 and SOAP 1.2

NumberToWords_localhost.pl - Testing on Local Host

soapversion('1.2') and envprefix('soap12') Must Used Together

default_ns() - Setting Namespace for Body Elements

SOAP::Data - Utility Class to Generate XML Elements

SOAPAction - Not Needed, But No Way to Remove It

NumberToWords_SOAP_1_2.pl - SOAP::Lite for SOAP 1.2 Web Service

Takeaways:

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

 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

 Python SOAP Client: Zeep

 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

 Archived Tutorials

 References

 Full Version in PDF/EPUB