RoleSet ReferenceType Mismatch|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
RoleSet ReferenceType Mismatch
Avatar
BitCtrl
Leipzig, Germany
New Member
Members
Forum Posts: 2
Member Since:
10/01/2015
sp_UserOfflineSmall Offline
1
03/06/2020 - 03:23
sp_Permalink sp_Print sp_EditHistory

RoleSet ReferenceType Mismatch

The InstanceDeclaration “\<RoleName\>” in ObjectType “RoleSetType” is bind through “HasComponent” ReferenceType
Its InstanceMember “Server.ServerCapabilities.RoleSet.Supervisor” in Object “Server” is bind though “OrganizedBy”

This does not fulfill the Specs part 3, chapter 7.11
“…
The SourceNode of References of this type shall be an Object or a View. If it is an Object then it should be an Object of the ObjectType FolderType or one of its subtypes (see 5.5.3).
…”

This is a ReferenceType mismatch, because the “RoleSetType” is not a subtype of “FolderType”.

Standard NodeSet2.xml:

TypeDefinition and InstanceMember “Server.ServerCapabilities.RoleSet” in object “Server”

TypeDefinition:
<UAObjectType NodeId=”i=15607” BrowseName=”RoleSetType”>
<DisplayName>RoleSetType</DisplayName>
<Description>A container for the roles supported by the server.</Description>
<References>
<Reference ReferenceType=”HasComponent”>i=15608</Reference> // Target is <RoleName>
<Reference ReferenceType=”HasComponent”>i=15997</Reference>
<Reference ReferenceType=”HasComponent”>i=16000</Reference>
<Reference ReferenceType=”HasSubtype” IsForward=”false”>i=58</Reference>
</References>
</UAObjectType>
<UAObject NodeId=”i=15608″ BrowseName=”&lt;RoleName&gt;” SymbolicName=”RoleName_Placeholder” ParentNodeId=”i=15607“>
<DisplayName>&lt;RoleName&gt;</DisplayName>
<References>
<Reference ReferenceType=”HasProperty”>i=16162</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15620</Reference>
<Reference ReferenceType=”HasModellingRule”>i=11508</Reference> // Target is OptionalPlaceholder
<Reference ReferenceType=”HasComponent” IsForward=”false”>i=15607</Reference>
</References>
</UAObject>

InstanceMember “Server.ServerCapabilities.RoleSet” in object “Server”
<UAObject NodeId=”i=15606” BrowseName=”RoleSet” ParentNodeId=”i=2268″>
<DisplayName>RoleSet</DisplayName>
<Description>Describes the roles supported by the server.</Description>
<References>
<Reference ReferenceType=”HasComponent”>i=16301</Reference>
<Reference ReferenceType=”HasComponent”>i=16304</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15607</Reference>
<Reference ReferenceType=”HasComponent” IsForward=”false”>i=2268</Reference>
</References>
</UAObject>
<UAObject NodeId=”i=15692″ BrowseName=”WellKnownRole_Supervisor”>
<DisplayName>Supervisor</DisplayName>
<Description>The Role is allowed to browse, read live data, read and historical data/events, call methods or subscribe to data/events.</Description>
<References>
<Reference ReferenceType=”HasProperty”>i=16247</Reference>

<Reference ReferenceType=”HasComponent”>i=16256</Reference>
<Reference ReferenceType=”Organizes” IsForward=”false”>i=15606</Reference>
<Reference ReferenceType=”HasTypeDefinition”>i=15620</Reference>
</References>
</UAObject>

Avatar
Randy Armstrong
Admin
Forum Posts: 1579
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/06/2020 - 09:27
sp_Permalink sp_Print

Please create a Mantis issue:

https://apps.opcfoundation.org…..default=no

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Eduardo Pupo
Guest(s) 14
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1445
Posts: 4889