SAAJ is just an API. Any interop issues must be blamed on the implementation, not on the API. SAAJ is the standard low-level SOAP API for Java. The SAAJ API gives you direct control of the SOAP envelope constructs. Bear in mind that both JAX-RPC and JAXM use the SAAJ API under the covers to construct and manipulate the SOAP envelope. 
 
SAAJ is not WSDL aware. If you want to construct your SOAP envelope using the assistance of WSDL, you should use the JAX-RPC API.
 
Plenty of people have experienced interop issues when communicating with an endpoint developed using a different SOAP implementation -- with or without attachments. And these difficulties arise even among different SOAP implementations for Java. Interop is a lot better now than it was a year ago, but you'll still encounter some difficulties when you start using more advanced features (complex types, attachments, headers, etc.).
 
SAAJ is based on the SOAP with Attachments specification, which hasn't really established itself as a defacto standard. In particular, Microsoft .NET doesn't support SOAP with Attachments. Instead it supports WS-Attachments, which is based on DIME rather than MIME packaging. Many SOAP implementations for Java support both MIME and DIME attachments. The W3C XMLP working group is developing another attachments proposal called PASWA.
 
Anne
----- Original Message -----
Sent: Monday, July 28, 2003 12:11 PM
Subject: Re: help needed

Thanks Anne. Are you aware of any interop issues with regards to  SAAJ ? Most of the examples/code I've seen so far, are proverbial and don't exhibit true nature of SAAJ.
Has anyone (or have you) experienced any problem/issue sending a SOAP msg with attachment( a single or multiple attachments) to endPoint that is a non-java implementation ? Is WSDL support ingrained with SAAJ implementation ?

Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
I recommend SAAJ (a standard API) over Apache SOAP (an old proprietary API). Apache Axis implements the SAAJ API.
 
Anne
----- Original Message -----
Sent: Monday, July 28, 2003 11:14 AM
Subject: Re: help needed

Does Apache SOAP 2.2 support SOAP attachments over asynchronous transport ? If so, which is a better choice, SAAJ or Apache SOAP ?

Thanks,

Scott Nichol <[EMAIL PROTECTED]> wrote:

These are used to support SOAP Attachments.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message -----
From: "Kamran Ghani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 2:22 PM
Subject: help needed


> Hi
> Why do we need JAF and Java mail with Apache...
> kg
>
>
>
> --------------------------------------------------------------------------------
> Protect your PC - Click here for McAfee.com VirusScan Online


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to