This class implements a simple RPC client, for XML-RPC, (simplified) SOAP 1.1 or Simple RPC. The client abstracts the entire RPC process behind native PHP methods. Any method defined by the rpc server can be called as if it was a native method of the rpc client.
E.g.
The client has a simple interface for the system.multiCall method:
The soap client can only handle the basic php types and doesn't understand xml namespaces. Use PHP's SoapClient for complex soap calls. This client cannot parse wsdl. If you want to skip the ripcord::client factory method, you _must_ provide a transport object explicitly.
Located in /ripcord_client.php (line 47)
Class | Description |
---|---|
Ripcord_Client_MultiCall | This class provides the fetch interface for system.multiCall. It is returned |
Whether or not to decode the XML-RPC datetime and base64 types to unix timestamp and binary string respectively.
A flag to indicate if we are in a multiCall block. Start this with $client->system->multiCall()->start()
A list of deferred encoded calls.
The exact request from the client. For debugging purposes.
The exact response from the rpc server. For debugging purposes.
Whether or not to throw exceptions when an xml-rpc fault is returned by the server. Default is false.
The constructor for the RPC client.
This method catches any native method called on the client and calls it on the rpc server instead. It automatically parses the resulting xml and returns native php type results.
This method catches any reference to properties of the client and uses them as a namespace. The property is automatically created as a new instance of the rpc client, with the name of the property as a namespace.
Documentation generated on Tue, 16 Nov 2010 16:20:17 +0100 by phpDocumentor 1.4.3