5 invokemethod, Installation of viewcheck – Artesyn ViewCheck on ATCA-7370 Installation and Use (April 2014) User Manual
Page 48
Installation of ViewCheck
ViewCheck on ATCA-7370 Installation and Use (6806800S48B)
48
</ArgDesc>
</MethodDesc>
</ClassDesc>
</Response>]]>]]>
4.6.5
InvokeMethod
InvokeMethod XML command calls the method of an BSF Object. BSF methods are defined
with method parameters such as input, output and input-output.
BSF Object method can be invoked with a list of input or input-output arguments. This
command returns a list of output or input-output arguments. The input arguments means it is
only an input and will not be displayed in the output. But in the case of input-output
arguments, both input and output will be displayed in the output.
Request:
The below example invokes the method class 'diagnostics' with instance "vee0". Upon
execution of this method by the class instance, response will be sent in the output/input-
output arguments.
Request
=======
<Script>
<InvokeMethod>
<Object>
<Class>diagnostic</Class>
<Name>vee0</Name>
</Object>
<Method>setLogLevel</Method>
<Argument>
<Name>logLevelValue</Name>
<Value>1</Value>
</Argument>
</InvokeMethod>
</Script>]]>]]>
Response:
InvokeMethod command returns the below response on executing the above example
command.
<?xml version="1.0"?>