Listing 1—XML-RPC requests are defined by a standardized XML schema that contains a series of nested tags defining what procedure call to execute and its parameters. The example request demonstrates the gpib.Send(2,“CH1:SCALE?”,1) call.
<?xml version=”1.0”?>
<methodCall>
<methodName>gpib.Send</methodName>
<params>
<param>
<value><int>2</int></value>
<value><string>CH1:SCALE?</string></value>
<value><int>1</int></value>
</param>
</params>
</methodCall>