Closed svanharmelen closed 4 years ago
FYI I understand that before the ordering was (more or less) following the logical order or how the protocol works, yet it was quite nasty to search for things in those big lists. If you don't like them being ordered alphabetically, please let me know so I can revert. No problem...
Hi, the supported_message.rs is generated from gen_supported_message.js script. I've changed the script to treat ServiceFault as a response, so can you see if the head fixes your issue?
I basically just changed gen_supported_message.js to create the source code that treats ServiceFault as a response
Ow man, how did I miss the header in that file:
I did notice that in other files, but somehow seemed to have missed it here 😏
I tested master
, but it gave a panic: thread 'tokio-runtime-worker-1' panicked at 'explicit panic', /Users/svanharmelen/code/svanharmelen/opcua/core/src/supported_message.rs:274:18
It seems it needs to also be added to the response_header
, so added that (the correct way by adding to the js
file and running the node cmd...
In addition I sorted al the big lists to make it easier to find anything in them. Let me know if you want that part reverted…
The only logical change is on lines 222 and 267.
Fixes #59