Remote Procedure Calls with PEAR::XML-RPC - An XML_RPC Exchange
(Page 3 of 12 )
Now assume the script can be been divided into two segments. The first segment could be the getNameLength function which will reside at a distant RPC host. The second segment could reside in our XML-RPC client which sets the variables, calls the function and displays the results.
During the remote procedure, the XML-RPC client would send the RPC host the following XML: