JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle GlassFish Server Message Queue 4.5 Developer's Guide for Java Clients
search filter icon
search icon

Document Information

Preface

1.  Overview

2.  Using the Java API

3.  Message Queue Clients: Design and Features

4.  Using the Metrics Monitoring API

5.  Working with SOAP Messages

What is SOAP?

SOAP with Attachments API for Java

The Transport Layer

The SOAP Layer

The Language Implementation Layer

The Profiles Layer

Interoperability

The SOAP Message

SOAP Packaging Models

SOAP Messaging in JAVA

The SOAP Message Object

Inherited Methods

Namespaces

Pre-defined SOAP Namespaces

Using Namespaces when Creating a SOAP Name

Parsing Name Objects

Destination, Message Factory, and Connection Objects

Endpoint

Constructing an Endpoint

Using the Endpoint to Address a Message

Message Factory

Connection

SOAP Connection

SOAP Messaging Models and Examples

SOAP Messaging Programming Models

Working with Attachments

To Create and Add an Attachment

Exception and Fault Handling

Writing a SOAP Client

To Write a SOAP Client for Point-to-Point Messaging

Writing a SOAP Service

Disassembling Messages

Handling Attachments

Replying to Messages

Handling SOAP Faults

Predefined Fault Codes

Defining a SOAP Fault

Integrating SOAP and Message Queue

Example 1: Deferring SOAP Processing

To Transform the SOAP Message into a JMS Message and Send the JMS Message

To Receive the JMS Message, Transform it into a SOAP Message, and Process It

Example 2: Publishing SOAP Messages

Code Samples

6.  Embedding a Message Queue Broker in a Java Client

A.  Warning Messages and Client Error Codes

Index

Chapter 5

Working with SOAP Messages

SOAP is a protocol that allows for the exchange of data whose structure is defined by an XML scheme. Using Message Queue, you can send JMS messages that contain a SOAP payload. This allows you to transport SOAP messages reliably and to publish SOAP messages to JMS subscribers. This chapter covers the following topics:

If you are familiar with the SOAP specification, you can skip the introductory section and start by reading SOAP Messaging in JAVA.