DataTypeDictionary NamespaceUri in Server NamespaceArray

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
kherron
Full Member
Full Member
Posts: 5
Joined: 17 Aug 2015, 14:31

DataTypeDictionary NamespaceUri in Server NamespaceArray

Post by kherron »

Is the NamespaceUri of a DataTypeDictionary supposed to correspond with entries in the Server's NamespaceArray? And further, if so, should any DataTypes whose encoding is defined in that dictionary use a NodeId with a namespace index corresponding to that entry in the NamespaceArray?

The UaCPPServer demo defines 3 dictionaries:

BA: urn:UnifiedAutomation:CppDemoServer:BuildingAutomation
Demo: http://www.unifiedautomation.com/DemoServer/
Demo2: http://www.unifiedautomation.com/DemoSe ... ries/Demo2


And a NamespaceArray of:
0: http://opcfoundation.org/UA/
1: urn:WIN-3O0D2B9VPO1:UnifiedAutomation:UaServerCpp
2: http://www.unifiedautomation.com/DemoServer/
3: urn:UnifiedAutomation:CppDemoServer:BuildingAutomation
4: http://www.unifiedautomation.com/DemoSe ... Permission
5: urn:UnifiedAutomation:CppDemoServer:UANodeSetXmlImport

Is this correct, or should there be an entry for "Demo2" dictionary, and should the "Person" DataType, defined in Demo2, be listed under a NodeId corresponding to the missing NamespaceUri?

Post Reply