-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read complex structure #198
Comments
Decoding custom structure types is not supported by default by the stack. You will need to register your own serialiser for the type, which requires that you know the structure a priori. See the existing implementations for the standard structure types generated inside the EncodeableSerializer class for examples. In order to support any previously unknown structure in the client, you will need to parse the TypeDictionary provided by the server. That functionality is out of the scope of the stack and you will need an SDK for that or build it yourself. |
Thanks for response, @jouniaro . It's been a long time, I gave up on this problem, but now it came back and trying to solve it again.
This is unbearable for my requirements, I thought reading the whole structure's root will help. I have tested reading a whole structure with node's opcua parallel project (https://node-opcua.github.io/) and the read takes 20-30 ms for whole structure, and no serializaers/desarializers registration is needed, just pure JSON returned. I have tried a bit with those structure serializers:
but getting an error:
Can some one help, as this is a huge limiter for us and prohibits completing the project. |
Can
someone help ? I am sitting on this for days and can't figure out how to read a non-leaf, complex data structure:this data structure when viewed in UAExpert expands into multiple leaf nodes with String and boolean leafs.
and I am getting and exception:
with UAExpert tool, I can read that node with no problems and all it's leafs.
opcua.1.4.1.jar
I have read in other issue that I need to read namespaceArray and set is as context, but have no idea how to set it, neither are there examples for that.
please help.
The text was updated successfully, but these errors were encountered: