2010年4月17日星期六

[fw-webservices] Re: Problem with Zend_XmlRpc_Client

Rolando Espinoza La Fuente wrote:
>
> On Thu, Jan 22, 2009 at 2:35 AM, anz_nabble <anz@feathersoft.de> wrote:
>>
>> I had set up an XML-RPC client for using a demo service of the XML-RPC
>> server
>> on the Zend Framework website, and I instantiated it and use the call()
>> instance method.
>>
>> What I had done is given below
> [...]
>>
>> What's wrong in my code, pls help ....
>
> There is nothing wrong with your code. There isn't a xmlrpc
> server at framework.zend.com/xmlrpc
>
> Try another webservice, e.g. freshmeat.net
>
> $client = new Zend_XmlRpc_Client('http://freshmeat.net/xmlrpc/');
> $result = $client->call('fetch_available_licenses');
> var_dump($result);
>
>
> Regards,
>
> --
> Rolando Espinoza La fuente
> Pro Soft Resources Inc.
> www.prosoftpeople.com
>
>

Rolando Espinoza La Fuente wrote:
>
> On Thu, Jan 22, 2009 at 2:35 AM, anz_nabble <anz@feathersoft.de> wrote:
>>
>> I had set up an XML-RPC client for using a demo service of the XML-RPC
>> server
>> on the Zend Framework website, and I instantiated it and use the call()
>> instance method.
>>
>> What I had done is given below
> [...]
>>
>> What's wrong in my code, pls help ....
>
> There is nothing wrong with your code. There isn't a xmlrpc
> server at framework.zend.com/xmlrpc
>
> Try another webservice, e.g. freshmeat.net
>
> $client = new Zend_XmlRpc_Client('http://freshmeat.net/xmlrpc/');
> $result = $client->call('fetch_available_licenses');
> var_dump($result);
>

I copied the code and got a similar result:

Zend_XmlRpc_Client_HttpException: Not Found in
/data/lib/Zend/ZendFramework-1.10.2/library/Zend/XmlRpc/Client.php on line
288

I tried with both the Zend XmlRpc server from the documentation (is it
really not there?) and the freshmeat example above, but no good response. I
am new to XmlRpc, any suggestions of other servers I could try? I just want
to see the client working so I can debug my own Zend_XmlRpc_Server
component.

Thanks,
Laura

--
View this message in context: http://n4.nabble.com/Problem-with-Zend-XmlRpc-Client-tp675682p2014605.html
Sent from the Zend Web Services mailing list archive at Nabble.com.

没有评论: