Home > Constructing SOAP with C++ and gSOAP 2.7.9e for Linux > Building the Sample and Testing the Linux Client


Building the Sample and Testing the Linux Client

  1. In the sample.cpp file, modify the values of the following variables:
    • MERCHANT_ID
    • TRANSACTION_KEY
    • SERVER_URL
    • LIB_VERSION (if using a different gSOAP version)
    • ENVIRONMENT

    Do not use LIB_VERSION variable unless you are using a different version of gSOAP.

  2. Run the make cybsdemo script. You can safely ignore the warning messages. cybsdemo is now ready to use. The reply file contains the request result and all returned fields. When client testing is finished, write the code to use the client application.
  3. Run the sample by executing:
    ./cybsdemo