File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis and Apache soap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis and Apache soap" Watch "Axis and Apache soap" New topic

Axis and Apache soap

Roy Huang
Ranch Hand

Joined: Nov 21, 2001
Posts: 104
Who can tell me the major difference betw. the Axis soap (JAX- RPC) and Apache soap? Thanks.

SCJP 1.4/SCBCD/SCWCD<br />MCSE<br />IBM professional XML Developer<br />SAP certified Development Consultant (NetWeaver portal and Web JavaApplication)
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Apache SOAP builds on code from IBM. In working on the SOAP version, the Apache developers discovered lots of inefficiencies and conceptual problems, such as working with all SOAP messages as DOMs. Way too many problems to fix by modifying SOAP - therefore the AXIS project got started.
Supposedly it is much more efficient and faster.
Although a lot of people are making use of SOAP, the developers are apparently planning to do no more major improvements, instead all new work will go into AXIS. Incidently, the developers now seem to be looking for a new project name and are planning to incorporate some other Apache project.
author of:
Roy Huang
Ranch Hand

Joined: Nov 21, 2001
Posts: 104
Thanks Bill, I have noticed that the Axis XML Parser uses more SAX , but not the complete DOM tree.
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
The major difference is in the architecture. AXIS is a lot better at handling SOAP headers and doing things in the appropriate places in the SOAP handling structure. So, for instance, if you used XML Encryption following the proposed standard, AXIS could easily handle that with a handler for encryption in front of (handling input) and behind (handling output) the basic message handler.
A little more history is here:
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at for other WebSphere information.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
Frank Lin
Ranch Hand

Joined: Jan 26, 2001
Posts: 76
Is anyone using AXIS alpha3? I had hard time to get it work with Weblogic 5.1? I kept getting following errors on the server side when I tried to access the Administer Axis or Visit the Axis Servlet from the main index. Soap 2.2 is running fine on the same server.

Must include type attribute for Handler deployment!
at org.apache.axis.deployment.wsdd.WSDDHandler.<init>(
at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvid
at org.apache.axis.AxisEngine.init(
at org.apache.axis.AxisEngine.<init>(
at org.apache.axis.server.AxisServer.<init>(
at org.apache.axis.transport.http.AdminServlet.getEngine(AdminServlet.ja
at org.apache.axis.transport.http.AdminServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
I agree. Here's the link:
subject: Axis and Apache soap
It's not a secret anymore!