Welcome to Apache Axis2/Java

Apache Axis2™ is a Web Services / SOAP / WSDL engine, the successor to the widely used Apache Axis SOAP stack. There are two implementations of the Apache Axis2 Web services engine - Apache Axis2/Java and Apache Axis2/C

While you will find all the information on Apache Axis2/Java here, you can visit the Apache Axis2/C Web site for Axis2/C implementation information.

Apache Axis2, Axis2, Apache, the Apache feather logo, and the Apache Axis2 project logo are trademarks of The Apache Software Foundation.

June 27, 2015 - Apache Axis2/Java 1.6.3 released!

Apache Axis2/Java 1.6.3 is a maintenance release that fixes over 50 issues. It is also the first release to package all the transport implementations from the formerly separate Axis2 Transports project. This release upgrades Axiom to version 1.2.14.

April 17, 2012 - Apache Axis2/Java 1.6.2 released!

Apache Axis2/Java 1.6.2 is a maintenance release containing fixes for several issues discovered over the past six months. This version upgrade Axiom to 1.2.13 and Neethi to version 3.0.2. The complete list of fixes can be found here.

Aug 30, 2011 - Apache Axis2/Java 1.5.6 and 1.6.1 released!

1.5.6 and 1.6.1 are maintenance releases containing fixes for several issues discovered over the last months. Both versions upgrade Axiom to 1.2.12. Axis2 1.6.1 also upgrades Neethi to version 3.0.1 and contains changes required for Geronimo 3.0. The complete list of fixes can be found here:

If possible users should upgrade to Axis2 1.6.1. The Axis2 1.5.6 maintenance release is intended for use in situations where upgrading to 1.6.1 is not possible immediately.

May 29, 2011 - Apache Axis2/Java Version 1.5.5 Released!

1.5.5 is a maintenance release that contains fixes for several issues in the sample projects included with the binary distribution as well as a couple of other issues.

If possible users should upgrade to Axis2 1.6.0 (see below). The Axis2 1.5.5 maintenance release is intended for use in situations where upgrading to 1.6.0 is not possible immediately.

May 17, 2011 - Apache Axis2/Java Version 1.6.0 Released!

1.6.0 is a major release of axis2 with many fixes and improvements to the core and all it's modules

Refer to the following filter Issues fixed for the 1.6.0 release to find all the issues fixed for the 1.6.0 release

December 19, 2010 - Apache Axis2/Java Version 1.5.4 Released!

1.5.4 is a maintenance release that contains fixes for the following issues:

  • AXIS2-3784: WSDL port address is not correctly generated for machines having multiple network interfaces
  • AXIS2-3793: move image to the correct place
  • AXIS2-3851: adb-codegen no longer accepts schemas without targetNamespace
  • AXIS2-4261: Enable axis2server.sh to start SimpleAxis2Server in remote debug mode
  • AXIS2-4586: JiBX Client Stub not cleaning up HTTP connections after each operation
  • AXIS2-4642: ?wsdl query calls out.close() twice, confusing at least some Tomcat connectors
  • AXIS2-4674: Unable to get WSDL2 doc for services on WebSphere 7.0 and Axis2 1.5.1
  • AXIS2-4819: Race condition in WSDLDataLocator
  • AXIS2-4827: ADB class org.apache.axis2.databinding.types.Union does not implement java.io.Serializable
  • AXIS2-4842: NPE in TempFileManager
  • AXIS2-4871: Null Pointer Exception in AxisService.printXSD
  • AXIS2-4883: Javadoc link broken on site and in documents distribution
  • AXIS2-4885: Unsubstituted variable ${axis2_version} in 1.5.3 site and documents distribution
  • AXIS2-4887: TargetNameSpace required for XSD2Java
  • AXIS2-4888: The org.apache.axis2:axis2 Maven artifact should not have a classifier
  • AXIS2-4889: SOAPConnectionTest#testGet slows down the build
  • AXIS2-4896: Unable to install axis2.eclipse.codegen.plugin into eclipse
  • AXIS2-4901: LinkageError related to DOM classes when using the codegen plugin for Eclipse
  • AXIS2-4909: Simple MTOM web service no longer works due to missing closing MIME boundary.

In addition, this release contains changes required for the Sandesha2 1.4 release.

November 12, 2010 - Apache Axis2/Java Version 1.5.3 Released!

1.5.3 is a maintenance release that contains the following improvements:

  • Improved support for SSL when using the servlet transport: Axis2 can now be configured so that generated WSDLs contain https endpoints (AXIS2-4465).
  • Improved compatibility with Rampart (AXIS2-3213 and AXIS2-4870) and Sandesha2 (potential HTTP connection pool starvation).
  • Axiom has been upgraded to 1.2.10. This version contains performance improvements relevant for Rampart.
  • Application (business) faults are no longer logged at level ERROR (AXIS2-4280).
  • Improved conformance to the SAAJ specifications. The 1.5.3 release contains a set of fixes and improvements for the SAAJ implementation developed on the trunk and not included in previous releases from the 1.5 branch.
  • Axis2 now relies exclusively on dependencies available from the Maven central repository, and no other Maven repositories are required. This in particular fixes a build problem that appeared after the 1.5.2 release.
  • The Eclipse and IntelliJ IDEA plugins are again available for download via the Axis2 Web site (previous 1.5.x versions could only be downloaded from the Maven repository).

[ Download ]

September 6, 2010 - Apache Axis2/Java Version 1.5.2 Released!

1.5.2 is a maintenance release to fix the security issue described in CVE-2010-1632 as well as an XSS vulnerability in the admin console and some other minor issues. It also upgrades Axiom to version 1.2.9.

[ Download ]

October 23, 2009 - Apache Axis2/Java Version 1.5.1 Released!

The 1.5.1 version fixes some bugs, including most notably a connection starvation issue that would cause a large number of sockets stuck in CLOSE_WAIT or TIME_WAIT.

PLEASE NOTE: As of Axis2 1.5, we now require JDK 1.5 or above. JDKs 1.4 or previous are no longer supported.

[ Download ]

Please see the Axis Reference Library for a list of technical resources that should prove useful on this project.

Why Apache Axis2:

A new architecture for Axis2 was introduced during the August 2004 Summit in Colombo, Sri Lanka. The new architecture on which Axis2 is based on is more flexible, efficient and configurable in comparison to Axis1.x architecture. Some well established concepts from Axis 1.x, like handlers etc., have been preserved in the new architecture.

Apache Axis2 not only supports SOAP 1.1 and SOAP 1.2, but it also has integrated support for the widely popular REST style of Web services. The same business logic implementation can offer both a WS-* style interface as well as a REST/POX style interface simultaneously.

Apache Axis2 is more efficient, more modular and more XML-oriented than the older version. It is carefully designed to support the easy addition of plug-in "modules" that extend their functionality for features such as security and reliability. The Modules currently available or under development include:

Apache Axis2 is built on Apache AXIOM, a new high performant, pull-based XML object model.

Axis2 comes with many new features, enhancements and industry specification implementations. The key features offered are as follows:

  • Speed - Axis2 uses its own object model and StAX (Streaming API for XML) parsing to achieve significantly greater speed than earlier versions of Apache Axis.

  • Low memory foot print- Axis2 was designed ground-up keeping low memory foot print in mind.

  • AXIOM - Axis2 comes with its own light-weight object model, AXIOM, for message processing which is extensible, highly performant and is developer convenient.

  • Hot Deployment - Axis2 is equipped with the capability of deploying Web services and handlers while the system is up and running. In other words, new services can be added to the system without having to shut down the server. Simply drop the required Web service archive into the services directory in the repository, and the deployment model will automatically deploy the service and make it available for use.

  • Asynchronous Web services - Axis2 now supports asynchronous Web services and asynchronous Web services invocation using non-blocking clients and transports.

  • MEP Support - Axis2 now comes handy with the flexibility to support Message Exchange Patterns (MEPs) with in-built support for basic MEPs defined in WSDL 2.0.

  • Flexibility - The Axis2 architecture gives the developer complete freedom to insert extensions into the engine for custom header processing, system management, and anything else you can imagine.

  • Stability - Axis2 defines a set of published interfaces which change relatively slowly compared to the rest of Axis.

  • Component-oriented Deployment - You can easily define reusable networks of Handlers to implement common patterns of processing for your applications, or to distribute to partners.

  • Transport Framework - We have a clean and simple abstraction for integrating and using Transports (i.e., senders and listeners for SOAP over various protocols such as SMTP, FTP, message-oriented middleware, etc), and the core of the engine is completely transport-independent.

  • WSDL support - Axis2 supports the Web Service Description Language, version 1.1 and 2.0, which allows you to easily build stubs to access remote services, and also to automatically export machine-readable descriptions of your deployed services from Axis2.

  • Add-ons - Several Web services specifications have been incorporated including WSS4J for security (Apache Rampart), Sandesha for reliable messaging, Kandula which is an encapsulation of WS-Coordination, WS-AtomicTransaction and WS-BusinessActivity.

  • Composition and Extensibility - Modules and phases improve support for composability and extensibility. Modules support composability and can also support new WS-* specifications in a simple and clean manner. They are however not hot deployable as they change the overall behavior of the system.

We hope you enjoy using Axis2. Please note that this is an open-source effort. If you feel the code could use new features or fixes, or the documentation can be improved, please get involved and lend us a hand! The Axis developer community welcomes your participation.

Let us know what you think! Send your feedback on Axis2 to "java-user@axis.apache.org". Make sure to prefix the subject of the mail with [Axis2].

Features of Axis2 Latest Version

Apache Axis2 Version 1.4 comes with performance improvements and a number bug fixes over the 1.3 release. Check out the complete list of features below.

Programming Model

  • Improved, XML-centric client API including full WSDL and policy support
  • Support for JAXWS-style services and clients
  • Support for POJO and Spring services and clients
  • Support for any message exchange pattern
  • Synchronous and asynchronous calls
  • Archived service deployment model supporting full service encapsulation with versioning support
  • Archived module deployment model supporting controlled extensibility with versioning support
  • Hot deployment
  • WS-Policy driven code generation extensions
  • Flexible service life cycle model
  • Automatic support for POX (REST) style invocation of services
  • Support for querying a service's WSDL (using ?wsdl), schema (using ?xsd) and policies (using ?policy)
  • WSDL 2.0
  • Custom Deployers
  • Binary serialization (Fast Infoset)
  • JSON support
  • EJB Provider support

Supported Specifications

  • SOAP 1.1 and 1.2
  • Message Transmission Optimization Mechanism (MTOM), XML Optimized Packaging (XOP) and SOAP with Attachments
  • WSDL 1.1, including both SOAP and HTTP bindings
  • WS-Addressing (submission and final)
  • WS-Policy
  • SAAJ 1.1


  • HTTP
  • SMTP
  • JMS
  • TCP

Supported Data Bindings

  • Axis Data Binding (ADB)
  • XMLBeans
  • JibX
  • JaxBRI (Experimental)

Tools Included in This Release

[Download Tool Plug-ins]

  1. Axis2 Web Application (Web App)
  2. WSDL2WS- eclipse plug-in/ Command line version/IntelliJ IDEA plug-in/Maven2 WSDL2Code Plug-in
  3. Service Archive Wizard- eclipse plug-in/ IntelliJ IDEA plug-in/ Maven2 AAR Plug-in
  4. Java2WSDL- Maven2 Java2WSDL Plug-in

Extension Modules

  • Apache Rampart: Supporting WS-Security (and soon WS-Policy)
  • Apache Sandesha2: Supporting WS-Reliable Messaging
(Apache Axis2 comes built in with a module that supports WS-Addressing.)

Known Issues and Limitations

Archived News

For information on previous Axis2 releases running up to the current release see the 'Axis2 Archived News' page.

For other news items from Apache Software Foundation see: