[Zope] Help: XMLRPC question

Martijn Pieters mj@zope.com
Tue, 3 Sep 2002 10:43:17 -0400


On Tue, Sep 03, 2002 at 05:18:14PM +0300, Ruslan Spivak wrote:
> MP> Recent version of Zope marshall None as boolean false. What version of
> MP> Zope is the XML-RPC server using?
> 
> RH7.2 + Zope2.5.1

Ah, 2.5.1 is the last version without marshalling None. Your method most
likely returns None in the error cases. Try:

  return [methodcall()] or 0

and you'll always get 1 or 0.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@zope.com
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------