7.2 Using the xmlrpc client to run an API and inspect the XML

Enter the following command:

auser>xmlrpc http://localhost:4242/RPC2 device.register i/1 i/1

This should return the value of the device handle or an error indication.

To see the XML generated by the client and sent to the server:

auser>export XMLRPC_TRACE_XML=1

and repeat the previous invocation of xmlrpc.

You should see both the XML transmitted to the MD for the API and that received by the client.



juan@acm.org