User Manual
5 Axis2/Java Framework
Axis2/Java Overview
The Axis2/Java framework enables you to implement client and server sides of a web service
based on the SOAP protocol.
NOTE: Any mention of Axis2/Java in this document refers to Axis2/Java version 1.5.2.
Apache Axis2/Java Project
The Axis2/Java project is an Apache Software Foundation initiative and is a configurable web
services, SOAP, and WSDL engine.
For more information on the Axis2/Java framework, see http://axis.apache.org/axis2/java/core/
index.html.
Axis2/Java Framework
The Axis2/Java framework enables you to create web services with different features based on
your requirements. For example, web services created using Axis2/Java can be configured to be
accessed using either the SOAP method or the REST method.
Some of the key functionalities of the Axis2/Java framework are as follows:
• Send, receive, and process SOAP messages with or without attachments.
• Create a Web service from plain Java class.
• Create implementation classes for both server and client using Web Services Description
Language (WSDL) files.
• Retrieve WSDL files for a service.
• Create and utilize REST based web services.
Axis2/Java Modules
Axis2/Java provides a modular architecture that enables easy integration of modules, which can
be used to extend the features of the core Axis2/Java engine. The Axis2/Java modules currently
certified on HP NonStop are:
• Apache Sandesha2 – extends support for the WS-ReliableMessaging specifications
• Apache Rampart - extends support for the WS-Security
For more information about installing these modules in Axis2/Java, see “Installing Axis2/Java
Framework” (page 183).
Axis2/Java Applications on NonStop
Axis2/Java can be deployed/run on NonStop as a standalone server or as a servlet under NSJSP.
When deployed as a servlet under NSJSP, Axis2/Java inherits the benefits of NSJSP, such as,
scalability, hot deployment, easy manageability and so on. Applications developed using
Axis2/Java can take advantage of these features on the NonStop platform.
The following are some of the common usage scenarios for Axis2/Java based applications on the
NonStop SOAP platform as a follows:
1. Developing web services based on existing contract (WSDL)
You can use the Contract-First application development approach to develop web applications
based on an existing web services contract (WSDL). Axis2/Java provides the WSDL2Java
tool, which simplify the Contract-First application development with Axis2/Java.
Axis2/Java Overview 181