Re: Using CGI to interface with an XML-RPC server

2006-01-18 Thread boxy440
Rob, your python cgi script is just like any other script -- simply import the xmlrpc lib and use it. The client accessing your cgi script will have to wait while your script goes off acting as an xml-rpc client doing whatever business it has to do. -- http://mail.python.org/mailman/listinfo/pyth

Re: Using CGI to interface with an XML-RPC server

2006-01-18 Thread Rob Cowie
>Python ships with cgi and xmlrpc support (cgi and xmlrpclib, respectively), >so I'm not sure why you even think you have to ask... >1. use cgi to parse form data >2. use xmlrpclib to issue request >3. use print or your favourite html templating library to generate >output > >(it mi

Re: Using CGI to interface with an XML-RPC server

2006-01-18 Thread Fredrik Lundh
Rob Cowie wrote: > Is it possible to create python CGI scripts that accept form data in > the usual way, package them as an XML-RPC request, call the server, > receive the response then format this response into valid HTML to be > emitted to the client? Python ships with cgi and xmlrpc support (c

Re: Using CGI to interface with an XML-RPC server

2006-01-18 Thread Rob Cowie
Please? I really could do with some help! -- http://mail.python.org/mailman/listinfo/python-list

Using CGI to interface with an XML-RPC server

2006-01-17 Thread Rob Cowie
Hi all, Assume I have a working XML-RPC server that runs persistently and correctly accepts remote calls, executes the relevant code and outputs the XML-RPC result. This is fine when using an XML-RPC client. However, I wish to provide a web user interface. I gather it is possible to use PHP as an