The components of this parameter are defined in Table 136.

Table 136– DiagnosticInfo

Name

Type

Description

DiagnosticInfo

structure

Vendor-specific diagnostic information.

namespaceUri

Int32

The symbolicIdis defined within the context of a namespace. This namespace is represented as a string and is conveyed to the Clientin the stringTableparameter of the ResponseHeaderparameter defined in 7.34. The namespaceUriparameter contains the index into the stringTablefor this string. -1 indicates that no string is specified.

The namespaceUrishall not be the standard OPC UA namespace. There are no symbolicIdsprovided for standard StatusCodes.

symbolicId

Int32

The symbolicIdshall be used to identify a vendor-specific error or condition; typically the result of some Serverinternal operation. The maximum length of this string is 32 characters. Serverswishing to return a numeric return code should convert the return code into a string and use this string as symbolicId(e.g., "0xC0040007" or "-4").

This symbolic identifier string is conveyed to the Clientin the stringTableparameter of the ResponseHeaderparameter defined in 7.34. The symbolicIdparameter contains the index into the stringTablefor this string. -1 indicates that no string is specified.

The symbolicIdshall not contain StatusCodes. If the localizedTextcontains a translation for the description of a StatusCode, the symbolicIdis -1.

locale

Int32

The locale part of the vendor-specific localized text describing the symbolic id.

This localized text string is conveyed to the Clientin the stringTableparameter of the ResponseHeaderparameter defined in 7.34. The localeparameter contains the index into the stringTablefor this string. -1 indicates that no string is specified.

localizedText

Int32

A vendor-specific localized text string describes the symbolic id. The maximum length of this text string is 256 characters.

This localized text string is conveyed to the Clientin the stringTableparameter of the ResponseHeaderparameter defined in 7.34. The localizedTextparameter contains the index into the stringTablefor this string. -1 indicates that no string is specified.

The localizedText refers to the symbolicId if present or the string that describes the standard StatusCode if the Serverprovides translations. If the index is -1, the Serverhas no translation to return and the Clientshould use the invariant StatusCode description from the specification.

additionalInfo

String

Vendor-specific diagnostic information.

innerStatusCode

StatusCode

The StatusCodefrom the inner operation.

Many applications will make calls into underlying systems during OPC UA request processing. An OPC UA Serverhas the option of reporting the status from the underlying system in the diagnostic info.

innerDiagnosticInfo

DiagnosticInfo

The diagnostic info associated with the inner StatusCode.