Hi All,

I'm trying a simple 'hello world' test of xmlrpc but keep getting:

"Uncaught exception 'Zend_XmlRpc_Client_FaultException' with message 'Failed
to parse response'"

So I've got:
1. a function in a class

/**
* Say Hello
*
* @return string 
*/
function hello(){
return 'Hello World';
}

2. A server in an action:

function xmlrpcAction(){
        
        $server = new Zend_XmlRpc_Server();
        $server->setClass('Hs_Profile', 'profile');
        echo $server->handle();
        echo $server->getRequest(); 
        }

3. A client call in a view:

$client = new
Zend_XmlRpc_Client('http://technology.otago.ac.nz/Profile/index/xmlrpc');
echo $client->call('profile.hello');

I've read through the list but can't find an answer. I've tried with error
reporting on and off, and, as you can see, I've also tried getRequest().

What am I missing?

Thanks,
Jess
-- 
View this message in context: 
http://www.nabble.com/xmlrpc-beginners-bad-luck-tf4736337s16154.html#a13544484
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to