Java Samples

The IBM® Cognos® Software Development Kit includes Java program samples that show you some types of applications you can design. The samples include source files so that you can test making changes to the sample code, and batch files or shell scripts for compiling and running the samples.

The source files contain comments that describe the main purpose of each sample, including a summary of which BI Bus API methods are used. The batch files and shell scripts contain instructions that you must follow before you run them.

Before you modify any of the samples, we recommend that you become familiar with basic Java programming techniques.

The generated source code obtained from the IBM Cognos Web Service Definition Language (WSDL) file is installed in the .jar file installation_location/sdk/java/src/axisCognosClientSrc.jar.

The generated Java documentation that describes the classes and methods in the BI Bus API is installed in the folder installation_location/sdk/java/doc/cognos8/javadoc.