From 1249107af8bad0434b310bda51d2de0a429a366c Mon Sep 17 00:00:00 2001
From: Derek Allard
The client you created sends a message ("How's is going?") to the server, along with a request for the "Greetings" method. The Server receives the request and maps it to the "process" function, where a response is sent back.
+If you wish to use an associative array in your method parameters you will need to use a struct datatype:
+ +$request = array(
+ array(
+ // Param 0
+ array(
+ 'name'=>'John'
+ ),
+ 'struct'
+ ),
+ array(
+ // Param 1
+ array(
+ 'size'=>'large',
+ 'shape'=>'round'
+ ),
+ 'struct'
+ )
+ );
+ $this->xmlrpc->request($request);
+
+You can retrieve the associative array when processing the request in the Server.
+$parameters = $request->output_parameters();
+ $name = $parameters['0']['name'];
+ $size = $parameters['1']['size'];
+ $size = $parameters['1']['shape'];
-