SAAJ API Reference Implementation 1.3.4

This section provides a tutorial example on how to download SAAJ API and Reference Implementation 1.3.4 from SAAJ home page and use them instead of using the default implementation from JDK 1.6.0.

Since I am not sure what is the version and release number of the default implementation of SAAJ included in JDK 1.6, I want to download and use the Reference Implementation release, SAAJ 1.3.4, provided at the SAAJ home page.

1. Go to https://saaj.dev.java.net/

2. Click the "Releases" link, then the "releases" folder icon.

3. Click to open the "1.3.4 (2)" sub folder.

4. Click to download "saaj1.3.4.zip" file, and save it to the current folder on your local computer. The file size should be 312,559 bytes.

5. Unzip all files from "saaj1.3.4.zip" to a sub folder ".\saaj1.3.4".

6. Copy two JAR files, saaj-api.jar and saaj-impl.jar, from ".\saaj1.3.4\saaj\lib" to your local library folder, like "\herong\lib".

Now I am ready to test SAAJ Reference Implementation 1.3.4 with my test program, SAAJImplementationTest.java, described in the previous toturial:

>javac -classpath \herong\lib\saaj-api.jar;\herong\lib\saaj-impl.jar 
   SAAJImplementationTest.java

>java -classpath .;\herong\lib\saaj-api.jar;\herong\lib\saaj-impl.jar 
   SAAJImplementationTest

 SOAPConnectionFactory class: class com.sun.xml.messaging.saaj.client
   .p2p.HttpSOAPConnectionFactory

 SOAPConnection class: class com.sun.xml.messaging.saaj.client
   .p2p.HttpSOAPConnection

Note that:

Last update: 2009.

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 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

 SAAJ API 1.3 Classes and Interfaces Overview

 SAAJ API and Default Implementation in JDK 1.6.0

SAAJ API Reference Implementation 1.3.4

 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 GetSpeech SOAP 1.1 with SAAJ

 SOAPConstants.SOAP_1_2_PROTOCOL

 Calling GetSpeech SOAP 1.2 with SAAJ

 SoapUI - SOAP Web Service Testing Tool

 WS-Security - SOAP Message Security Extension

 WS-Security X.509 Certificate Token

 Web Services and SOAP Terminology

 References

 PDF Printing Version