SAAJ
is the core SOAP API. Both JAXM and JAX-RPC use SAAJ. SAAJ was
originally part of JAXM, but they split it out when JAX-RPC came out so that
JAX-RPC wouldn't have a dependency on JAXM.
SAAJ
supports any type of SOAP messaging. It is a low-level API that provides
access to a SOAP envelope.
Axis uses SAAJ. Any JAX-RPC-compliant system
must use SAAJ.
JAXM
supports one-way asynchronous messaging. It uses SAAJ to construct the SOAP
envelope according to a profile, which is essentially a template of your SOAP
message. For example, when using an ebXML Message Service (ebMS) JAXM
provider, JAXM will construct a SOAP message template that conforms to the ebMS
specification, with all the right headers in place, and a manifest in the SOAP
body. The application is then responsible for adding the XML payload to the SOAP
message template.
Anne
-----Original Message-----
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 9:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: What is the difference between SOAP and JAX-RPCI don't think the distinction between JAXM and SAAJ given below is exactly correct. The documentation that ships with the JWSDP (in jaxm-1.1.1\docs\index.html) says this.SOAP with Attachments API for JavaTM (SAAJ) 1.1
This specification covers thejavax.xml.soap
package, which provides the API for creating and sending SOAP messages.JavaTM API for XML Messaging (JAXM) 1.1
This specification covers thejavax.xml.messaging
package, which provides the API for using a messaging provider to send messages.Elsewhere I've seen the distinction described by saying that SAAJ supports point-to-point SOAP messaging while JAXM supports SOAP messaging using a provider. I'd imagine that most implementations of JAXM would be built on top of an implementation of SAAJ. What do I know though? I also thought the logical way to build an implementation of JAX-RPC would be to build it on top of an SAAJ implementation and I'm not aware of any Java-based web service toolkit that has done that.-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 6:55 PM
To: [EMAIL PROTECTED]
Subject: RE: What is the difference between SOAP and JAX-RPC- JAXM: an XML-oriented API that does not support WSDL and assumes that the application constructs the XML message.- SAAJ: a low-level API that lets the application work directly with the SOAP message structure.
***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************