I am very new to OPC UA, so please excuse if this is a very basic question.
I want to call a method with two input arguments. The input arguments are described as follows:
What I have tried is this:
evse = client.get_node("ns=6;s=::EVSE")
set_default = client.get_node("ns=6;s=::EVSE:SetDefault")
res = evse.call_method(set_default, 1, 20)
Which yields this error:
BadInvalidArgument: "One or more arguments are invalid."(BadInvalidArgument)
If I replace the last line by this
res = evse.call_method(set_default, [1, 20])
I get this error:
BadArgumentsMissing: "The client did not specify all of the input arguments for the method."(BadArgumentsMissing)
When I call the method manually from UaExpert, it works fine. Can somebody give me a hint how to proceed?
Edit: These are the argument structures expanded: