OPCFoundation / UA-.NET-Legacy

OPC Foundation Unified Architecture .NET Reference Implementations
330 stars 298 forks source link

The first namespace in the table must be the OPC-UA namespace. #181

Open VinLexn opened 5 years ago

ZbynekZ commented 5 years ago

What you wrote is given by the OPC UA spec. But it is not clear why you are turning it into an issue on GitHub. Please describe where in the code, or under which circumstances the first namespace in the table isn't the OPC-UA namespace.

VinLexn commented 5 years ago

When you connect to King IOServer with OPC UA client code, what is the reason for the return namespace list? http://opcfoundation/UAProfile/Server/StandardUA http://opcfoundation/UAProfile/Server/DataAccess http://opcfoundation/UAProfile/Server/Methods http://opcfoundation/UAProfile/Server/NodeManagement http://opcfoundation/UAProfile/Server/EventSubscription Under what circumstances does OPC UA access the returned namespace

ZbynekZ commented 5 years ago

Namespace URI is part of the node or qualified name identification. Namespace index is just a means for efficient transport, so that the long namespaces URIs do not have to be transferred over the wire over and over. So, except for standardized namespace 0, any client should only know the namespace URIs, read in the namespace table, and convert the namespace URIs it needs into namespace indexes. This is also necessary because the server can rearrange the table and change the namespace indexes between sessions.

VinLexn commented 5 years ago

Are namespaces generated by server-side software?Is namespace mismatch caused by older versions of server-side software?