SAAJ - SOAP with Attachments API for Java

This chapter provides notes and tutorials on SAAJ (SOAP with Attachments API for Java). Topics include SAAJ specification and reference implementation; creating a SOAPConnection object; creating a SOAPMessage object; populating SOAP body; adding namespace for SOAP body elements; adding SOAPAction header line; SAAJ for SOAP 1.2.


These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.

SAAJ API Classes and Interfaces Overview

SAAJ API and Default Implementation in JDK

Check SAAJ API Version in JDK

SAAJ API Reference Implementation

First SOAPConnection Test Program

Creating SOAPConnection and SOAPMessage Objects

SAAJ SOAPMessage Structure and Classes/Interfaces

Populating the SOAP Body with Request XML Elements

Don't Use xml* as namespace Prefix

addHeader() - Setting SOAPAction Header Line

Calling NumberToWords SOAP 1.1 with SAAJ

SOAPConstants.SOAP_1_2_PROTOCOL

Calling NumberToWords SOAP 1.2 with SAAJ


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