Re: empty payload received from XML-RPC server

Gaetano Giunta <[email protected]> Thu, 20 Dec 2007 09:16:14 +0100
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
A 100% empty response, by a php powered server, is usually the result of 
a fatal error in the code.
If php is configured not to display errors on screen (as it really 
should be in production servers), and the xml output is echoed at the 
end of processing (as the PEAR lib does), you will end up with an empty 
page.
I think the most likely cause for such a behaviour is to be found within 
the code that implements the webservice (wordpress?), not within the 
pear lib itself.

Debugging tips:
check php error log on the server
enable display_errors=on on the server
if server is on hosting and you got little access to it, set up the same 
code that is powering the server on a dev machine and test it there

Bye
Gaetano


> hi guys,
>
> I'm new here. I've browsed the list for some feedback about what's
> next when the received payload is empty and didn't find much.
>
> I'm connecting to a XML-RPC server, powered by wordpress blogging
> platform. So far, it returns nice responses, but in one case, there's
> no payload.
>
> I enabled debugging, all I can see is:
>
> ---GOT---
>
> ---END---
>
> No content, nothing. I'll try to check the code of the PEAR XML-RPC
> package, and debug the http response, and so on, however, I'm thinking
> I'm spending too much time on it trying to read the class' code and
> get more of the debugging output
>
> What would you do next? I've tried to see what I'm sending, the info
> is sent, but nothing comes back. Probably a HTTP response output
> (including headers) will do, but I don't want to dive into the code... so?
>
> Thanks for your feedback.
>
> Vladimir Ghetau
> http://www.Vladimirated.com/ <http://www.Vladimirated.com/>
>
>  



[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/