Sample-Server icon indicating copy to clipboard operation
Sample-Server copied to clipboard

Sample server uses old ResultManagement

Open mdornaus opened this issue 1 year ago • 1 comments

The ResultDataType on the smple server uses an old prerelease version of the ResultManagement.

E.g.:

The Type for the ResultDataType in th .bsd file form the sample server looks like:

<opc:StructuredType BaseType="ua:ExtensionObject" Name="ResultDataType"> opc:DocumentationContains fields that were created during the execution of a recipe.</opc:Documentation> <opc:Field TypeName="opc:Bit" Name="ResultContentSpecified"/> <opc:Field Length="31" TypeName="opc:Bit" Name="Reserved1"/> <opc:Field TypeName="tns:ResultMetaDataType" Name="ResultMetaData"/> <opc:Field SwitchField="ResultContentSpecified" TypeName="opc:Int32" Name="NoOfResultContent"/> <opc:Field LengthField="NoOfResultContent" SwitchField="ResultContentSpecified" TypeName="ua:Variant" Name="ResultContent"/> </opc:StructuredType>

But it should look like:

<opc:StructuredType BaseType="ua:ExtensionObject" Name="ResultDataType"> opc:DocumentationContains fields that were created during the execution of a recipe.</opc:Documentation> <opc:Field TypeName="ua:ExtensionObject" Name="ResultMetaData"/> <opc:Field TypeName="opc:Int32" Name="NoOfResultContent"/> <opc:Field LengthField="NoOfResultContent" TypeName="ua:Variant" Name="ResultContent"/> </opc:StructuredType>

According to spec.

mdornaus avatar Feb 06 '25 16:02 mdornaus

Ah great, are you planning to fix this?

wlkrm avatar Feb 06 '25 21:02 wlkrm