Java APIs for XML Kick Start By Aoyon Chowdhury, Parag Choudhary
Table of Contents
Part III. JAXM: Java API for XML Messaging
Chapter 7. Messaging Fundamentals
IN THIS CHAPTER
JAXM Message Exchange Categories
Interoperability with Other Messaging Applications
JAXM and SOAP Messaging Styles
JAXM Elements
The JAXM Packages
SOAP 1.1 and SOAP with Attachments are the XML-based messaging protocol standards used in B2B communications over the Web (Web services). The Java API for XML Messaging (JAXM) enables application developers to create business applications that use SOAP messages to enable Web-based B2B communications.
Architecturally, there are two kinds of applications that use JAXM:
An application that uses JAXM for messaging. This is called the JAXM client. A JAXM client uses JAXM to create the SOAP messages that are transmitted over a standard Internet protocol, such as HTTP.
A messaging provider that supports JAXM. A messaging provider is a service that handles the transmissions and routing of SOAP messages. These messages can be created by JAXM clients, or any other application capable of creating SOAP messages.
All JAXM messages travel over a connection. A JAXM client can either connect directly to a particular destination, called an end-point, or connect to a messaging provider.
Figure 7.1 displays the relationship between JAXM clients and message providers that supports JAXM in a B2B environment.
Figure 7.1. The relationship between the JAXM client and the message provider.
This chapter discusses in detail the various aspects of JAXM messaging, messaging providers, and the JAXM clients and packages that enable an application to use SOAP messages in an application.