Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

acq2xx_client.cpp File Reference

client WS application More...

#include "soapH.h"
#include "acq2xx.nsmap"
#include <iostream>
#include <vector>
#include "local.h"
#include <stdio.h>
#include <string.h>
#include "acq2xx_client_api.h"

Go to the source code of this file.


#define ENV_URL   "ACQ2XX_WS_URL"
 pick up target URL from environment
 set verbosity from environment
 select low level test harness example
#define STAT_PRINT(field)   printf("%30s : %d\n", #field, status.field)


static void print (acq2xx__AcqStatus &status)
static int test_harness ()
int main (int argc, char *argv[])


static char * URL = "http://acq196_001:66666"
 default URL.
int verbose

Detailed Description

client WS application

multi role program, with role selected by executable file, in the manner of busybox. On Linux, use softlinks to the single main executable. On Windows. copy and rename the executable.

Definition in file acq2xx_client.cpp.

Define Documentation


select low level test harness example

Definition at line 62 of file acq2xx_client.cpp.

Referenced by main().

#define ENV_URL   "ACQ2XX_WS_URL"

pick up target URL from environment

Definition at line 56 of file acq2xx_client.cpp.

Referenced by main().


set verbosity from environment

Definition at line 59 of file acq2xx_client.cpp.

Referenced by main().

#define STAT_PRINT field   )     printf("%30s : %d\n", #field, status.field)

Referenced by print().

Function Documentation

int main int  argc,
char *  argv[]

Definition at line 87 of file acq2xx_client.cpp.

References acq2xx_client_acq2script(), acq2xx_client_acq2sh(), ACQ2XX_H_VERSION, ENV_TESTHARNESS, ENV_URL, ENV_VERBOSE, info, print(), soap_call_acq2xx__acq2sh(), soap_call_acq2xx__acqcmd(), soap_call_acq2xx__getAcqStatus(), soap_call_acq2xx__getVersion(), soap_call_acq2xx__setArm(), soap_new(), test_harness(), URL, and verbose.

static void print acq2xx__AcqStatus status  )  [static]

Definition at line 64 of file acq2xx_client.cpp.

References STAT_PRINT, acq2xx__AcqStatus::state, and acq2xx__AcqStatus::state_string.

Referenced by main().

static int test_harness  )  [static]

Definition at line 160 of file acq2xx_client.cpp.

References acq2xx__Transaction::getResult(), acq2xx__Object::name, acq2xx__acq2scriptResponse::out, acq2xx__TransactionList::print(), acq2xx__Transaction::print(), soap_call_acq2xx__acq2script(), soap_new(), and URL.

Referenced by main().

Variable Documentation

char* URL = "http://acq196_001:66666" [static]

default URL.

Definition at line 78 of file acq2xx_client.cpp.

Referenced by main(), and test_harness().

int verbose

Definition at line 17 of file acq2xx_client_api.cpp.

Generated on Mon Aug 21 12:39:58 2006 for ACQ2XXWebServices by  doxygen 1.4.4