11:39, EET
February 12, 2014
16:23, EET
December 21, 2011
Yes, that is possible. You can use AddressSpace.addNode() from the client, e.g.
ExpandedNodeId parentNodeId = …
ExpandedNodeId requestedNewNodeId = …
ExpandedNodeId typeDefinitionId = …
AddNodesItem node = new AddNodesItem(parentNodeId,
Identifiers.HasComponent, requestedNewNodeId,
new QualifiedName(requestedNewNodeId.getNamespaceIndex(), NodeClass.Object,
ExtensionObject.binaryEncode(nodeAttributes), typeDefinitionId);
NodeId nodeId = client.getAddressSpace().addNode(node);
Also, you need to ensure that the server enables node management, e.g. with the Java SDK
Note that the server will not by default create the structure of the object. But if you have a Java class that defines the structure, you can register that in the server, e.g.:
yourTypeDefinitionId, YourType.class);
Most Users Ever Online: 1919
Currently Online:
40 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 726
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1525
Posts: 6456
Newest Members:
forrestdilke5, ernestoportus31, martin123, rickie5305, shaylamaggard4, rickyjuarez140, jonathonmcintyre, fannielima, kristiewinkle8, rustModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1028, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1