This Serviceis used to delete one or more Nodesfrom the AddressSpace.

When any of the Nodesdeleted by an invocation of this Serviceis the TargetNodeof a Reference, then those Referencesare left unresolved based on the deleteTargetReferencesparameter.

When any of the Nodesdeleted by an invocation of this Serviceis being monitored, then a Notificationcontaining the status code Bad_NodeIdUnknown is sent to the monitoring Clientindicating that the Nodehas been deleted.

Table 28defines the parameters for the Service.

Table 28– DeleteNodes Service Parameters

Name

Type

Description

Request

requestHeader

Request Header

Common request parameters (see 7.28for RequestHeaderdefinition).

nodesToDelete []

DeleteNodes Item

List of Nodesto delete. This structure is defined in-line with the following indented items.

nodeId

NodeId

NodeIdof the Nodeto delete.

deleteTargetReferences

Boolean

A Booleanparameter with the following values:

TRUEdelete Referencesin TargetNodesthat Referencethe Nodeto delete.

FALSEdelete only the Referencesfor which the Nodeto delete is the source.

The Servercannot guarantee that it is able to delete all Referencesfrom TargetNodesif this parameter is TRUE.

Response

responseHeader

Response Header

Common response parameters (see 7.29for ResponseHeaderdefinition).

results []

StatusCode

List of StatusCodesfor the Nodesto delete (see 7.34for StatusCodedefinition). The size and order of the list matches the size and order of the list of the nodesToDeleterequest parameter.

diagnosticInfos []

Diagnostic Info

List of diagnostic information for the Nodesto delete (see 7.8for DiagnosticInfo definition). The size and order of the list matches the size and order of the nodesToDeleterequest 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.

Table 29defines the Serviceresults specific to this Service. Common StatusCodesare defined in Table 177.

Table 29– DeleteNodes Service Result Codes

Symbolic Id

Description

Bad_NothingToDo

See Table 177for the description of this result code.

Bad_TooManyOperations

See Table 177for the description of this result code.

Table 30defines values for the resultsparameter that are specific to this Service. Common StatusCodesare defined in Table 178.

Table 30– DeleteNodes Operation Level Result Codes

Symbolic Id

Description

Bad_NodeIdInvalid

See Table 178for the description of this result code.

Bad_NodeIdUnknown

See Table 178for the description of this result code.

Bad_UserAccessDenied

See Table 177for the description of this result code.

Bad_NoDeleteRights

See Table 178for the description of this result code.

Uncertain_ReferenceNotDeleted

The Serverwas not able to delete all target references.