Apache Axis2 2.0.1 Release Notes
Java Version Support
Apache Axis2 2.0.1 adds OpenJDK 21 and 25 support and requires OpenJDK 17 as the minimum version (upgraded from Java 8). The SecurityManager APIs removed in Java 21 are handled transparently, and legacy Date/Calendar APIs have been modernized to use java.time APIs. All features are fully tested and supported on Java 17, 21, and 25.
New Features
- AXIS2-6098: HTTP/2 transport module with multiplexing, ALPN negotiation, and adaptive timeouts. Includes standalone HTTP/2 Java client example (
Http2JsonClient). - AXIS2-6103: Streaming JSON message formatters (
MoshiStreamingMessageFormatter, JSONStreamingMessageFormatter) with FlushingOutputStream that flushes every 64KB. Prevents reverse proxy 502 errors on large responses. Field-level filtering via FieldFilteringMessageFormatter and ?fields= query parameter. MCP (Model Context Protocol) support for AI agents with auto-generated inputSchema from Java method parameter types. - AXIS2-6100: OpenAPI 3.0.1 spec generation and Swagger UI from Axis2 service definitions.
- axis2-spring-boot-starter: New module for Spring Boot autoconfiguration of Axis2.
- AXIS2-6040:
Automatic-Module-Name defined for Java 9+ module system compatibility.
Removed Features
- AXIS2-6105: Eclipse codegen and service plugins, IntelliJ IDEA plugin, OSGi module (AXIS2-6076), JiBX data binding, SOAPMonitor, Scripting (BSF/JSR-223), FastInfoset. See AXIS2-6105 for details.
- AXIS2-6102: WSDL 2.0 (Woden) implementation removed. WSDL 1.1 remains fully supported.
- AXIS2-6097: Clustering feature removed.
- AXIS2-6079: Java Security Manager / AccessController code removed (deprecated in Java 17, removed in Java 24).
Breaking Changes
- Minimum Java Version: Requires Java 17 (previously Java 8)
- API Modernization: Legacy Date/Calendar usage replaced with java.time.Instant APIs
- Security: SecurityManager dependent code removed for Java 21+ compatibility
- Removed modules: Users of JiBX, SOAPMonitor, Scripting, FastInfoset, Eclipse/IDEA plugins, OSGi, WSDL 2.0, or Clustering must migrate before upgrading from 2.0.0