Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.2

Bug #13963 RPC method named create can't be called by client
Submitted: 2008-05-23 02:43 UTC Modified: 2008-05-25 05:30 UTC
From: andbe Assigned:
Status: Bogus Package: XML_RPC2 (version 1.0.2)
PHP Version: 5.2.5 OS: OSX
Roadmaps: (Not assigned)    
Subscription  


 [2008-05-23 02:43 UTC] andbe (Anders Betnér)
Description: ------------ If the xml-rpc server provides a method called "create" I can't use it. The client tries to call the XML_RPC2_Client::create method instead of the one proviced by the server. My ugly hack solution was to rename the create method to XML_RPC2_Client::_create

Comments

 [2008-05-25 05:30 UTC] sergiosgc (Sérgio Carvalho)
Thanks for the feedback. Some pollution of the client method namespace is innevitable. However, you can use remoteCall__ to access those methods which collide with the client's methods: http://pear.php.net/package/XML_RPC2/docs/latest/XML_RPC2/XML_RPC2_Client.html#methodremoteCall___