[mod_python] Vampire and XML-RPC example service

Graham Dumpleton grahamd at dscpl.com.au
Tue Oct 25 16:55:01 EDT 2005


XML-RPC by definition is a remote procedure calling mechanism.
A variable such as string is not a callable object. Ie., it doesn't work
like publisher does whereby variables are automatically converted
to strings are returned.

Graham

On 26/10/2005, at 1:59 AM, Ian Stokes-Rees wrote:

> I have the xmlrpc_service.py example code running here:
>
> http://grid.physics.ox.ac.uk/~stokes/devel/gridsched/xmlrpc/ 
> xmlrpc_service
>
> All the methods work fine, but if I try to query an object member,  
> then it is not available.  For example, the following works:
>
> server.object1.method1()
>
> however this does not:
>
> server.string1
>
> I have trouble seeing why this is. TIA for any suggestions.
>
> Cheers,
>
> Ian
>
> -- 
> Ian Stokes-Rees                 i.stokes-rees at physics.ox.ac.uk
> Particle Physics, Oxford        http://www-pnp.physics.ox.ac.uk/ 
> ~stokes
>
> <i.stokes-rees1.vcf>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list