Test Client Installation Guide

Note : A new command line based test client has been posted! Download the new tarball below!

Installing / Running Test Client

  1. Download the tar ball:
               testClient.tar.gz 
            
  2. Upload and untar the tar ball in your home directory on seawolf:
              tar xvfz testClient.tar.gz
            
  3. Set the required environment variables necessary for axis and apache:
              setenv JAVA_HOME /usr/local/packages/j2sdk1.4.2_04
              setenv AXISCPP_HOME $HOME/software/axis-c-1-2-linux
              setenv AXIS_HOME $AXISCPP_HOME/deploy
              setenv EXPAT_HOME $HOME/software
              setenv XERCESCROOT $HOME/software/xerces-c-src_2_5_0
              setenv XERCESC_HOME $HOME/software
              setenv LD_LIBRARY_PATH "/local/lib/eclipse:/usr/lib/gcc-lib/2.95.4:$XERCESC_HOME/lib:$EXPAT_HOME/lib:$AXISCPP_HOME/bin:$AXIS_HOME/libs"
              setenv CATALINA_BASE $HOME/software/jakarta-tomcat-4.1.31
              setenv CATALINA_HOME $CATALINA_BASE
              setenv AXIS_LIB /u/yijun/software/axis-1_1/lib
              setenv AXISCLASSPATH $AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery.jar:$AXIS_LIB/commons-logging.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar:$AXIS_LIB/wsdl4j.jar:$HOME/software/junit3.8.1/junit.jar:$CATALINA_HOME/common/lib/activation.jar:$CATALINA_HOME/common/lib/mail.jar:.
              set path=($path $HOME/software/xerces-c-src_2_5_0/bin)
              set path=($HOME/software/apache/bin $path)
              set path=($path $HOME/software/bin)
              set path=($JAVA_HOME/bin $path)
              setenv CVSROOT ~/cvsroot
              setenv CVS_RSH rsh
            
  4. Set the required PATH for ant:
              setenv PATH /h/u1/yijun/software/apache-ant-1.6.2/bin:$PATH
            
  5. Execute ant script in directory ~/testClient to create stubs/proxies for axis then compile with test client:
              ant
            
  6. Execute the folowing java command from directory ~/testClient/bin to run the test client:
              java -cp $AXISCLASSPATH c408h008.client.TestServerClient
            
    For the updated/command line client which demonstrates using the client in simple/non-cached mode:
              java -cp $AXISCLASSPATH c408h008.client.OmniTest