Apache Axis

Overview

This document is meant to be a very brief tutorial on using Apache Axis to generate Java code from a WSDL.

Obtaining Axis

Use the following commands to download Axis and extract the archive contents.

  $ mkdir ~/tmp && cd ~/tmp
  $ wget http://www.apache.org/dist/ws/axis/1_4/axis-bin-1_4.zip
  $ unzip axis-bin-1_4.zip

Running WSDL2Java

  $ cd ~/tmp/axis-1_4/lib
  $ java -cp axis-ant.jar:axis.jar:commons-discovery-0.2.jar:log4j-1.2.8.jar:jaxrpc.jar:log4j-1.2.8.jar:saaj.jar:wsdl4j-1.5.1.jar:commons-logging-1.0.4.jar org.apache.axis.wsdl.WSDL2Java /home/tcort/sstregservice.wsdl