Home » Web Services » XML_RPC » Bug #4205
Need an alias for <methodName>
Details
| Request #4205 | Need an alias for <methodName> |
|---|---|
| Submitted | 2005-04-22 16:44 UTC |
| From | stevan dot koprivica at gmail dot com |
| Assigned | danielc |
| Status | Closed |
| Package | XML_RPC |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2005-04-22 16:44 UTC] stevan dot koprivica at gmail dot com
Description:
------------
Sutiation here: windows client, and php xmlrpc server. I believe versions are irrelevant.
Some delphi components and its serialize functions are creating message like:
<methodCall>
...
<RPCmethodName>blahblah</RPCmethodName>
</methodCall>
and XML_RPC expects <methodName>. It's quite easy to tweak this in RPC.php (and do it each time new version is published) or to add some preg_replace on $HTTP_RAW_POST_DATA in the starting lines of xmlrpc server.
Reproduce code:
---------------
"Patch" for RPC.php would be in function XML_RPC_ee($parser_resource, $name)... line 388 (in RPC.php,v 1.66):
case 'METHODNAME':
case 'RPCMETHODNAME':
instead of
case 'METHODNAME':
Is there a chance this "patch" of RPC.php to become offical?