Archive of UserLand's first discussion group, started October 5, 1998.

Re: Is XML-RPC a scripting environment?

Author:Fredrik Lundh
Posted:1/21/1999; 1:10:37 AM
Topic:Frontier on MacOS X Server
Msg #:2339 (In response to 2327)
Prev/Next:2338 / 2340

Also note that xmlrpclib.py allows you to use the Boolean wrapper to convert any "boolean" Python value to an XML-RPC value:

response = server.method(Boolean(1))

sends a over the wire.

DateTime and Binary works the same way.

now = time.time() # get current time
response = server.method(DateTime(now))
response = server.method(Binary(data))

Doing similar things in Perl shouldn't be that hard, should it?


There are responses to this message:


This page was archived on 6/13/2001; 4:47:29 PM.

© Copyright 1998-2001 UserLand Software, Inc.