WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 Operating Systems: AIX, Linux, Solaris, Windows

Running the sample applications

You can run the C, C++, and .NET sample applications interactively in either simple or advanced mode, or noninteractively using auto-generated or custom response files.

Before you begin

Before running any of the supplied sample applications, you must first set up the messaging server environment so that the applications can connect to a server as described in Setting up the messaging server environment.

For C or C++ sample applications, you must have set up one of the following environment variables:

Why and when to perform this task

The operation of the C and C++ sample applications is identical for all platforms.
Tip: When you are running a sample application, type ? at any time for help on what to do next.

The following steps summarize what you need to do to run the C, C++, and .NET sample applications.

Steps for this task

  1. Select the mode in which you want to run the sample application. Type either Advancedor Simple.
  2. Answer the questions. To select the default value, which is shown in the square brackets at the end of the question, press Enter. To select a different value, type the appropriate value, and press Enter.

    Here is an example question:

    Enter connection type [wpm]:

    In this case, the default value is wpm (connection to a WebSphere service integration bus).

Result

When you run the sample applications, response files are generated automatically in the current working directory. Response file names are in the format <connectiontype>-<sampletype>.rsp; (for example, wpm-producer.rsp). If required, you can use a generated response file to rerun the sample application with the same options, without re-entering these options manually.

Related concepts
The sample applications
Related tasks
Building the C or C++ sample applications
Building the .NET sample applications

Task topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.