[Zope3-checkins] SVN: Zope3/branches/tziade_xmlintrospection/src/zope/app/xmlrpcintrospection/README.txt added a basic example on the top of the doctest

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 11 08:43:14 EDT 2005


On Sunday 09 October 2005 06:57, Tarek Ziadé wrote:
> +  >>> from zope.app.xmlrpcintrospection.xmlrpcintrospection import
> xmlrpccallable +  >>> from zope.app.publisher.xmlrpc import XMLRPCView
> +  >>> class MySuperXMLRPCView(XMLRPCView):
> +  ...     @xmlrpccallable(str, str, str, str)
> +  ...     def myMethod(self, a, b, c):
> +  ...         """ my help """
> +  ...         return '%s %s, %s, lalalala, you and me, lalalala' % (a, b,
> c) +
> +`myMethod()` will then be introspectable.

It would be nice to demonstrate here how this works, but registering this 
method and the helper and see whether you get the right help.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-Checkins mailing list