Generating the com.actuate.schemas library
The Apache Axis 2 client ships with BIRT iHub Integration Technology. In the web services examples, the Apache Axis 2 client is in the following directory:
\Actuate\ServerIntTech3\Web Services\Examples\Axis Client
You can generate the source code for the package, com.actuate.schemas, compile the classes, and archive the classes into a library file, using one of the following supplied methods:
*Batch
To use the batch file, build.bat, open a command prompt. Navigate to the Axis Client directory. At the command line, type:
build
*Apache Ant
*To use Apache Ant, you must first install the build tool on your computer. To obtain the software and installation instructions, go to the Apache Ant Project web site at http://ant.apache.org/.
*To use Apache Ant, open a command prompt. Navigate to the Axis Client directory.
*To generate the source code for the package, com.actuate.schemas, type:
ant
*To compile the source code and generate the com.actuate.schemas library, type:
ant dist
*To generate Javadoc for the com.actuate.schemas library, type:
ant documentation
Each of these methods performs the operations by setting the properties that specify the locations and file names for the following resources:
*WSDL document
The Actuate WSDL document is available at the following URL:
http://localhost:8000/wsdl/v11/axis/all
*Source code
The code emitter, WSDL2Java, generates Java source code from the Actuate WSDL document, placing the package, com.actuate.schemas, in the directory, ACTUATE_HOME\ServerIntTech3\Web Services\Examples\Axis Client\source.
*Compiled code
Both methods use javac to compile the source code, placing the compiled package, com.actuate.schemas, in the directory, ACTUATE_HOME\ServerIntTech3\Web Services\Examples\Axis Client\build.
*Library files
Both methods use jar to archive the package, com.actuate.schemas. The batch method places the library file, idapi.jar, in the directory, \Actuate\ServerIntTech3\Web Services\Examples\Axis Client\lib.
The Apache Ant method places the library file, ActuateClient-${DSTAMP}.jar, in the directory, ACTUATE_HOME\ServerIntTech3\Web Services\Examples\Axis Client\dist\lib. DSTAMP is a variable in the file, build.xml, that represents the time when the JAR file was created. To run the example applications, copy the file, ActuateClient-${DSTAMP}.jar, to the directory, \Actuate\ServerIntTech3\Web Services\Examples\Axis Client\dist\lib, and change the file name to idapi.jar.