[Zope] Re: python-script to python-script XMLRPC

Dieter Maurer dieter at handshake.de
Sun Jan 11 13:08:31 EST 2004


Dennis Allison wrote at 2004-1-10 13:59 -0800:
> ...
>On Sat, 10 Jan 2004, Dieter Maurer wrote:
>> ...
>> Note that XML-RPC does not support keyword arguments.
>> 
>
>In what I am writing below, server is an XMLRPC server proxy with 
>basic authentication transport.  
>
>So, what is the right call?  Suppose I have a Python Script at 
>the remote sitei with an argument signature:
>
>	def foo( a, b, c ): ...
>
>which I want to invoke via XMLRPC.  How do I pass the positional 
>arguments?

The same way you always pass positional arguments:

    foo(value_for_a, value_for_b, value_for_c)

-- 
Dieter



More information about the Zope mailing list