Hello,
I am trying to read a UaNodeSet file (SDK 1.4.3) and this succeeds (so far so good). But when the UaNodeSet file that I'm trying to read is not ok (empty f.i.) I get only a trace error and the server starts anyway. There seems to be no way to detect that an error has occurred other than reading the trace file. Am I missing something here? Is there a way to detect parse errors while (or after) reading a UaNodeSet file?
Best regards,
Tijmen
Detecting UaNodeSet parse failure
Moderator: uasdkcpp
- Support Team
- Hero Member
- Posts: 3070
- Joined: 18 Mar 2011, 15:09
Re: Detecting UaNodeSet parse failure
Hello,
There is no direct way to detect errors that occur when importing a NodeSet XML file.
However there is the Method NodeManagerNodeSetXml.allNodesAndReferencesCreated that is called after all nodes have been imported successfully. If errors occurr you can only look at the trace file.
Best regards
Support Team
There is no direct way to detect errors that occur when importing a NodeSet XML file.
However there is the Method NodeManagerNodeSetXml.allNodesAndReferencesCreated that is called after all nodes have been imported successfully. If errors occurr you can only look at the trace file.
Best regards
Support Team
-
- Full Member
- Posts: 5
- Joined: 13 May 2015, 12:33
Re: Detecting UaNodeSet parse failure
Thanks,
This makes it possible for me to detect that an error has occurred when reading a nodeset file. This is precisely what i was looking for.
Best regards,
Tijmen
This makes it possible for me to detect that an error has occurred when reading a nodeset file. This is precisely what i was looking for.
Best regards,
Tijmen