Topic RSS14:39, EEST
September 26, 2016
OfflineHello,
I’m trying to run a server with a custom Information model. I’ve used CodeGen to create the basic classes, and populated them with sample code. When we try to call the methods of our model from a client, the server is showing the following exception:
Cannot find data type of class org.opcfoundation.ua.builtintypes.ExtensionObject
at com.prosysopc.ua.DataTypeConverter.getDataTypesForJavaClass(Unknown Source)
at com.prosysopc.ua.server.ServiceManagerBase.dataTypeEquals(Unknown Source)
at com.prosysopc.ua.server.MethodManagerUaNode.checkInputArguments(Unknown Source)
at com.prosysopc.ua.server.MethodManagerUaNode.callMethod(Unknown Source)
at com.prosysopc.ua.server.NodeManager.callMethod(Unknown Source)
at com.prosysopc.ua.server.NodeManagerTable.callMethod(Unknown Source)
at com.prosysopc.ua.server.NodeManagementServiceHandler.callMethod(Unknown Source)
at com.prosysopc.ua.server.NodeManagementServiceHandler.call(Unknown Source)
at com.prosysopc.ua.server.NodeManagementServiceHandler.onCall(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
If I’m understanding this correctly, it seems that the data classes are available (and my IDE is showing that org.opcfoundation.ua.builtintypes.ExtensionObject is indeed in the class path), but somehow the instantiated server doesn’t understand how to parse the incoming request into that data class. Is there some sort of load of the base built in types that I need to do to handle this, or am I missing something else?
Thanks.
1 Guest(s)

Log In
Register