Re: Pear XML RPC BUG
| From: | Sebastien Person | Date: | Wed, 28 Jul 2004 12:35:58 +0000 |
| Subject: | Re: Pear XML RPC BUG | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13888@lists.php.net to get a copy of this message | ||
I encountered a similar problem. see
http://pear.php.net/bugs/bug.php?id=1604.
please test if it works for you. (!the patch I submited must be
modified before applied because it remove the line I suggest instead of
add it).
sebastien person
On Wed, 28 Jul 2004 11:58:21 +0100
"Justin Philpott" <justin@pressred.tv> wrote:
>
> Hello fellow developers,
>
> I wonder if anyone can shed any light on the following bug that I seem
> to have encountered with the PEAR XML-RPC API:
>
> When calling a procedure on a server that I have set up, very slight
> differences between the actual XML payload sent seem to make the
> difference between "Unknown method" and a sucessful call. For example:
>
> the following payload that comprises a simple call, works correctly:
>
> <?xml version="1.0"?>
> <methodCall>
>
> <methodName>bbdLogAbbOutput</methodName><params><param><value><string
> >1248</string></value></param><param><value><string>log
> >string</string></value></param></params></methodCall>
>
> whereas... the following does not work:
>
> <?xml version="1.0"?>
>
> <methodCall><methodName>bbdLogAbbOutput</methodName><params><param><v
>
> alue>alue><string>1248</string></value></param><param><value><string>log
> string</string></value></param></params></methodCall>
>
> As you can see the only difference is a line break!
>
> Does anyone have any idea what may be happening within the XML RPC
> server API that is causing this, surely incorrect, behaviour??
>
> Thanks for your time,
>
> Justin Philpott
>