Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
Duplicate References from NamespaceArray and ServerArray
April 24, 2014
5:08, EEST
Avatar
hbrackel
Member
Members
Forum Posts: 144
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

All Java SDK based servers, even without any added nodeManager, seem to expose duplicate inverse “propertyOf” references between the NamespaceArray and Server Object as well as the ServerArray and the Server Object. Forward “hasProperty” references from the Server Object are singular as expected.

I also tried a very much stripped down version of the sample server code, which shows the same behavior.
I observe this behavior using UAExpert; ToolKit version 1.4.4.

Is this the result of an error in my code, a bug/feature of the toolkit or possibly some glitch in UAExpert?

Regards, Hans-Uwe

April 24, 2014
8:20, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I just tested with the latest SDK 1.4.8 (or actually the latest development version) and UaExpert 1.2.2 and cannot see this behaviour. Can you update to the latest and recheck? Have you checked if the Java Client shows the same?

It sounds odd, since the SDK should ensure that all references are bidirectional, and that there are no duplicates between the same nodes.

May 1, 2014
14:44, EEST
Avatar
hbrackel
Member
Members
Forum Posts: 144
Member Since:
February 21, 2014
sp_UserOfflineSmall Offline

I tested meanwhile with the unaltered Java SDK’s SampleServer application (latest SDK version), UAExpert and the Prosys OPC UA Client. Both clients indeed show duplicate references of type “PropertyOf” from the namespaceArray and serverArray nodes. I see even more duplicates in my custom server. As mentioned before, the corresponding hasProperty references are singular.

May 2, 2014
8:00, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Thanks. And yes, I can now reproduce the problem with version 1.4.8. It seems that it’s fixed in 2.0 beta. There’s something odd here indeed, but I will check that it gets fixed.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 32
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6521
Newest Members:
Jorsiz, wilfredoforeman, ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1047, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1