RE: [PEAR] Pear XML RPC BUG
| From: | Justin Philpott | Date: | Thu, 29 Jul 2004 08:50:30 +0000 |
| Subject: | RE: [PEAR] Pear XML RPC BUG | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13902@lists.php.net to get a copy of this message | ||
I think I may have found the problem! please see my comment here
http://pear.php.net/bugs/bug.php?id=1604
-----Original Message-----
From: Sebastien Person [mailto:sperson@easter-eggs.com]
Sent: 28 July 2004 13:36
To: pear-general@lists.php.net
Subject: Re: [PEAR] Pear XML RPC BUG
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
>
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php