xmlzend-frameworkxml-rpczend-xmlrpc

Does Zend provide an object wrapper for Zend_XmlRpc return values?


I have something like:

$client = new Zend_XmlRpc_Client('<XML-RPC URL>');
$result = $client->call('<method name>', array( ... ));

I get an XML string in $result. Is Zend capable of marshalling this XML into some object or associative array?

If Zend doesn't marshall this automatically and I have to do so using plain PHP, how is it best done?


Solution

  • Meh. I'm settling for SimpleXML (a PHP5 module), as suggested here. I don't need anything complex anyway.