[Zope] XML-RPC , can not use objectIds trough the web

Ed Colmar ed@greengraphics.net
Mon, 1 Apr 2002 13:23:27 -0800


Hey Robert.

You can either go into the source, and add the docstring

def objectIds()
    """ anything """

or you can create a new method to wrap the objectIds method.

I posted about this last month, commenting that this how-to is misleading.
Apparently its hasn't been changed yet.

-ed-

> I am trying to access Zope trough xml-rpc as described by Amos in
> http://www.xml.com/pub/a/2000/01/xmlrpc/index.html?page=1
> (and as found in other examples)
> This examples assume that you can access the content of a folder trough
the
> web by
> visiting something like
> http://localhost:8080/objectIds
> however this results in following error:
> The object at http://localhost:8080/objectIds has an empty or missing
> docstring. Objects must have a docstring to be published.
>
> is there a way to circumvent that?
> thanks for your tips