2016

Table Of Contents
cpp/libQXPSMSoapCppBindings.a
objc/libQXPSMSoapObjCBindings.a
iOS:
[QXPSM_Home]/XDK/WebServiceStubs/objective-c/lib/i86_64/
c/libQXPSMSoapCBindings.a
cpp/libQXPSMSoapCppBindings.a
objc/libQXPSMSoapObjCBindings.a
4
Create an instance of QXPSMServiceManager. (QXPSMServiceManager is an
Axis2c-based factory for QXPSM Web services stubs. It maintains shared instances of
stubs corresponding to different QXPSM Web services.)
Initialise QXPSMServiceManager using setupForHost, with the required parameters:
Host: Host name of QXPSM server.
port: Web port configured at the server for HTTP (or HTTPS) communication.
logFilePath: Location where Axis2 can generate a log file.
logLevel: Number specifying log level for Web service communication (0 =
critical, 1 = error, 2 = warning, 3 = info, 4 = debug, 5 = user-level debug message,
6 = trace).
axis2Home: Client side Axis2 home folder location.
useHttps: Set to true for secure API communication with QXPSM server
serverCertificatePath: Certificate file path . For a non-secured connection,
this argument is ignored.
For example:
[[QXPSMServiceManager sharedInstance]
setupForHost:server port:port
logFilePath:axisLogFile logLevel:axisLogLevel axis2Path:axis2Home
useHttps:usehttps serverCertificatePath:certFilePath];
5
Initialise QXPSMServiceManager using setupForHostWithProxy, with the required
parameters:
Host: Host name of QXPSM server.
port: Web port configured at server for HTTP (or HTTPS) communication.
logFilePath: Location where Axis2 can generate a log file.
logLevel: Number specifying log level for Web service communication.
axis2Home: Client side Axis2 home folder location.
useHttps: Set to true for secure API communication with QXPSM server.
serverCertificatePath: Certificate file path. For a non-secured connection,
this argument is ignored.
proxyHost: Host name of HTTP proxy. If null, proxy is not used.
proxyPort: HTTP proxy port number.
username: User name for proxy authentication. If null, no authentication is
performed.
password: Password for HTTP proxy authentication.
172 | A GUIDE TO QUARKXPRESS SERVER 2016
USING QUARKXPRESS SERVER