5.14.4 SetPublishingMode
5.14.4.1 Description
This Service is used to enable sending of Notifications on one or more Subscriptions.
5.14.4.2 Parameters
Table 86 defines the parameters for the Service.
| Name | Type | Description |
|---|---|---|
| Request | ||
requestHeader | RequestHeader | Common request parameters (see 7.32 for RequestHeader definition). |
publishingEnabled | Boolean | A Boolean parameter with the following values: TRUE publishing of NotificationMessages is enabled for the Subscription. FALSE publishing of NotificationMessages is disabled for the Subscription. The value of this parameter does not affect the value of the monitoring mode Attribute of MonitoredItems. Setting this value to FALSE does not discontinue the sending of keep-alive Messages. |
subscriptionIds [] | IntegerId | List of Server-assigned identifiers for the Subscriptions to enable or disable (see 7.19 for IntegerId definition). |
| Response | ||
|---|---|---|
responseHeader | ResponseHeader | Common response parameters (see 7.33 for ResponseHeader definition). |
results [] | StatusCode | List of StatusCodes for the Subscriptions to enable/disable (see 7.38 for StatusCode definition). The size and order of the list matches the size and order of the subscriptionIds request parameter. |
diagnosticInfos [] | DiagnosticInfo | List of diagnostic information for the Subscriptions to enable/disable (see 7.12 for DiagnosticInfo definition). The size and order of the list matches the size and order of the subscriptionIds request parameter. This list is empty if diagnostics information was not requested in the request header or if no diagnostic information was encountered in processing of the request. |
5.14.4.3 Service results
Table 87 defines the Service results specific to this Service. Common StatusCodes are defined in Table 178.
| Symbolic Id | Description |
|---|---|
| Bad_NothingToDo | See Table 178 for the description of this result code. |
| Bad_TooManyOperations | See Table 178 for the description of this result code. |
5.14.4.4 StatusCodes
Table 88 defines values for the results parameter that are specific to this Service. Common StatusCodes are defined in Table 179.
| Symbolic Id | Description |
|---|---|
| Bad_SubscriptionIdInvalid | See Table 178 for the description of this result code. |