File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Difference between Apache Axis and Java's SAAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Difference between Apache Axis and Java Watch "Difference between Apache Axis and Java New topic
Author

Difference between Apache Axis and Java's SAAJ

Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
Hi
I would be very much intrested in knowing the differences between Apache - Axis and the Sun Java SAAJ
for example
Are they complementary api's ie one can be used for the other. If so any specific reason why sun is not "borrowing" the implementation from apache.
Thanks
Rahul
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Hi Rajul,
SAAJ is a standard for transmitting attachments into SOAP envelopes while many of the Axis' features are proprietary. I have to admit though that I don't even know which API Axis provides for SOAP attachments.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
By the way, I'm moving this thread to Web Services...
Axel Janssen
Ranch Hand

Joined: Jan 08, 2001
Posts: 2164
Originally posted by Lasse Koskela:
Hi Rajul,
SAAJ is a standard for transmitting attachments into SOAP envelopes while many of the Axis' features are proprietary. I have to admit though that I don't even know which API Axis provides for SOAP attachments.

SAAJ?
Originally posted by Axis happines page on my 127.0.0.1

Found SAAJ API (javax.xml.soap.SOAPMessage) at D:\Tomcat41\webapps\axis\WEB-INF\lib\saaj.jar


As Lasse said. Both are different things. I would say Axis is a SOAP implementation and SAAJ is a SOAP spec (ruling transmitting of attachments).
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
Hi Axel
SAAJ is a SOAP spec (ruling transmitting of attachments).

I meant SAAJ 1.1 that is developed by Sun and provided along with the Web Services Developer pack.
Check this out Developer Pack which contains SOAP with Attachments API for Java (SAAJ) v1.2 EA
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Hi - I think it is proper to say:
-SAAJ is a specification (set of interfaces).
-Apache provides an implementation in Axis.
-Sun provides another implementation delivered with the WSDP.
Guy
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
Hi
-Apache provides an implementation in Axis.
-Sun provides another implementation delivered with the WSDP
Any reasons why apache too must provide a implementation to SOAP. Any differences between the two implementations
Thanks
Rahul
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Difference between Apache Axis and Java's SAAJ
 
Similar Threads
JAX-RPC compatibility
SAAJ Service
Difference between JAX-RPC, Apache Axis, SAAJ, Apache SOAP, Sun Toolkit
Generating Soap msg from a xml file
Hard problem with tomcat 4.1 and jwsdp-1.3