Client

The TcAdsWebService.Client object handles the asynchronous or synchronous AJAX communication with the TcAdsWebService.

 TcAdsWebService.Client(
    sServiceUrl, 
    sServiceUser, 
    sServicePassword
  );

Parameters

sServiceUrl

Type: String
The url of the TcAdsWebService.

sServiceUser

Type: String
The username which should be used to access the TcAdsWebService.
Set to undefined or null for anonymous access or access with session credentials.

sServicePassword

Type: String
The password which should be used to access the TcAdsWebService.
Set to undefined or null for anonymous access or access with session credentials.

Functions

Name

Description

readwrite

Writes data to an ADS device and then reads data from this device.

readState

Reads the ADS status and the device status from an ADS server.

writeControl

Changes the ADS status and the device status of an ADS server.

write

Writes data to an ADS device.

read

Reads data from an ADS device.

getTypeString

Returns an object identifier string.