In the SOAP demo client, it is not easy to know how $args should be formed:
Patrick Pollet created a script that generate template for web service arguments. I attached the script to this issue. Polish it if necessary, and add it to the SOAP demo client folder. Then mention it in client.php.
Example of generated template: