Before you start
This three-part tutorial series is for you if you're interested in building a large Web service using Apache Geronimo and Apache Axis2. Learn how to build a WSDL file with several operations relevant to an online banking system. Then compile the WSDL file into a Web service using Axis2, and deploy and test it on Geronimo.
The example you create in this series is an online banking Web service. The Web service, created using WSDL and Axis2, will contain an Apache Derby database used to save transaction data, account data, and bill-paying data. You'll deploy Axis2 as a Web application on Apache Geronimo, and the new Web service will be an Axis archive deployed within Axis2. There are several possible commands in online banking that you'll use in the example, including view accounts, search transactions, transfer funds, and bill paying. You'll also create a client Web application to connect to the Web service to query information and perform transactions -- basically to call the operations implemented in the Web service.
In this first installment of the three-part series, you build the online banking Web service's infrastructure in WSDL. In Part 2, you build the Web service's functionality by storing account and transaction information in an Apache Derby database. Finally, in Part 3, you create a fully functional client-Web-based user interface (UI) to the Web service where a user can log in, do online banking, and log out.
This tutorial starts by introducing the example Web service and exposing the various Web services using WSDL. You use Axis2 to convert the WSDL file to Java™ code, where some simple functionality will be implemented to test communication between the client and the Web service. The test environment includes Axis2 deployed as a module on Geronimo, the Web service deployed as an archive within Axis2, and a simple Java client that communicates to the Web service.
You need the following tools to follow along with this tutorial:
- Apache Geronimo -- Download Apache Geronimo V1.0, on which you'll deploy an Axis2 Web service.
- Apache Axis2 -- Download the version 0.94 Axis2 WAR and binary distributions, which you'll use to build a Web service from WSDL.
- Apache Ant -- Download Apache Ant, which you'll need, because Axis2's WSDL2Java tool creates a handy Ant build.xml file for building the Web service, which makes building the Web service's source code a lot easier.
- Java code -- Download the latest Java 1.4 version, Java 1.4.10, required by Geronimo, Axis2, and Ant.
This tutorial assumes you have basic knowledge of Java syntax and coding; however, no knowledge of Axis2 or specific Geronimo knowledge is assumed.

