Hello Ralf,
I have an instance of Zend_XmlRpc_Server working and
I am handling both functions, extendedPing and ping
$oXmlRpcServer =
new Zend_XmlRpc_Server;
$oXmlRpcServer->addFunction('extendedPing','weblogUpdates');
$oXmlRpcServer->addFunction('ping','weblogUpdates');
It is working for
me, so try adding the extendedPing, or post the code of your server
somewhere.
Regards,
Armand
On Wed, 15 Feb 2012 23:12:30 +0100, Ralf
Eggert wrote:
> Hi,
>
> I managed to build a pingback feature with
Zend_XmlRpc_Server and
> Client. Some stuff works fine.
>
> - Sending
pingbacks from one page of my project to another page of
> my project.
>
- Sending pingbacks from one page of my project to a wordpress blog.
>
> But, whenever I sent a pingback from a wordpress blog to my project
it
> does not work. This means the method of my Zend_XmlRpc_Server
service
> class is not called (I check this with a log file).
>
> I
tracked this down to the raw body that is sent by Zend_XmlRpc_Client
>
and a wordpress installation. The Zend_XmlRpc_Client sends this body:
>
> ------------------------------------------
> pingback.ping
> 0
>
http://source.url.com/foo [1]
> 0
> http://target.url.com/bar [2]
>
>
------------------------------------------
>
> This can be handled from
Zend_XmlRpc_Server and my service class method
> is called properly.
>
> Now this is the raw body sent by workpress, which is much simpler.
>
> ------------------------------------------
>
pingback.pinghttp://source.url.com/foo [3]http://target.url.com/bar
[4]
>
> ------------------------------------------
>
> Has anyone any
idea why the wordpress call is not handled? It looks much
> clearer to
me since it does not use a structure for the params.
>
> Thanks and
best regards,
>
> Ralf
Links:
------
[1]
http://source.url.com/foo
[2] http://target.url.com/bar
[3]
http://source.url.com/foo
[4] http://target.url.com/bar