mpostol / OPC-UA-OOI

Object Oriented Internet - C# deliverables supporting a new Machine To Machine (M2M) communication architecture
https://commsvr.gitbook.io/ooi/
MIT License
141 stars 33 forks source link

This example doesn't work #583

Open mpostol opened 3 years ago

mpostol commented 3 years ago

Describe the bug

Execution of the

asp --export XMLModels\DataTypeTest.ModelDesign.xml --namespace http://cas.eu/UA/CommServer/UnitTests/DataTypeTest XMLModels\VariableTypeTest.NodeSet2.xml

causes the following exception and program stops.

Program stopped by the exception: Cannot find this http://cas.eu/UA/CommServer/UnitTests/DataTypeTest namespace
Parameter name: targetNamespace

To Reproduce

Call the command above in the installation folder.

Expected behavior

The exception must be handled and the message customized. Use the log to trace the program behavior.

Screenshots

Untitled

mpostol commented 3 years ago

There is a wrong model selected. The problem only is how to handle similar errors.