WebSphere Message Service Clients: Web Services Client for C++, Version 1.0.1 Operating Systems: Linux, Windows

Configuring after installation

After you have installed Web Services Client for C++, some configuration may be required for the AxisClient.

Why and when to perform this task

After installation is complete, you may need to configure the axiscpp.conf file to match your installation.

Depending on the platform, axiscpp.conf file is located in either <inst_dir> for Windows or <inst_dir>/etc for UNIX.

The following code shows the supplied default template configuration file. Note that the pathnames in this file vary according to platform.

# The comment character is '#'
# Available directives are as follows
#
# ClientWSDDFilePath:  The path to the client WSDD
# SecureInfo:          The GSKit security information
#

You only need to change this file if you are using handlers with your web service client application, or if you are securing your web service communications using SSL. If you are not adding handlers or SSL, you do not need to change this file.

If you are using the axiscpp.conf configuration file, you must create an environment variable that gives the location of axiscpp.conf to the AxisClient library. Regardless of platform, this variable is called AXISCPP_DEPLOY.

To carry out the post installation configuration for Web Services Client for C++, complete the following steps.

Steps for this task

  1. If you are adding handlers or SSL, configure the axiscpp.conf file as described in Developing and using client side handlers and Securing web service communications.
  2. If you are using axiscpp.conf, set the value of AXISCPP_DEPLOY to <inst_dir>. For example:
    • UNIX On UNIX: export AXISCPP_DEPLOY = <inst_dir>
    • Windows On Windows: set AXISCPP_DEPLOY = <inst_dir>
  3. After creating AXISCPP_DEPLOY, add the full path of the directory containing the AxisClient library to either the path or library path environment variable, depending on the operating system, as follows:
    • Linux On Linux: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :<inst_dir>/lib
    • Windows On Windows: path=%path%;<inst_dir>\bin
  4. Add the full path of the directory containing the XML4C library to either the path or library path environment variable depending on the operating system as follows:
    • Linux On Linux: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :<inst_dir>/prereqs/XML4C
    • Windows On Windows: path=%path%;<inst_dir>\prereqs\XML4C

What to do next

You are now ready to begin developing and deploying web service applications.
Related concepts
Client API
Related tasks
Developing and deploying web service client applications
Developing and using client side handlers
Securing web service communications

Task topic

Terms of Use | Rate this page

Last updated: 6 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.