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
Namespace index for created data type instance does not match that of TypeDefinitionId
November 26, 2014
9:44, EET
Avatar
oliver.stollmann
New Member
Members
Forum Posts: 2
Member Since:
November 17, 2014
sp_UserOfflineSmall Offline

Hello,

I am noticing something strange (possibly caused by my misuse of the SDK). I have generated some Java Code and am now performing the following:
MemberTypeNode node = nodeManager.createInstance(MemberTypeNode.class,newMemberNodeId,browseName,displayName);

Now for some reason the NodeId of the node’s data type has an index that does not match the namespace defined in the TypeDefinitionId (but instead that of the application uri).

Please see here: https://gist.github.com/o1iver…..f097462ddc.

Current override, maybe this helps: https://gist.github.com/o1iver…..roblem-log

Thanks!
Oliver

November 26, 2014
13:22, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1068
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Seems we have a bug. The NodeId in the xml is not mapped to “global” NodeId in case of DataType (since the NodeIds in the xml point 0=standardNameSpace 1->=The namespace defined in NamespaceUris part at the start of the xml) and instead pointed directly to 1 in global namespace. I can send a beta link by mail after this is fixed.

November 26, 2014
14:05, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1068
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Fixed in (beta) version 2.0.3-357, will be in next SDK release version.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 48
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1