<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>
<DIV>Thanks for your response, Shuying Wang --&nbsp;I was afraid no one even read the post. Now I see I wasn't clear.</DIV>
<DIV>----------------------------------------------------------------------------------</DIV>
<DIV>Shuying Wang: I'm not sure what you're trying to do. But I run cgi scripts and make<BR>xmlrpc requests with xmlrpclib with a connection with<BR>xmlrpclib.Server(server_uri), though I'm only doing this client side.<BR>I'm not running the server as cgi.</DIV>
<DIV>-----------------------------------------------------------------------------------</DIV>I have a Python module that I am trying to expose via XMLRPC. I can get it running by assigning a port on the server using SimpleXMLRPCRequestHandler, but I would prefer to expose it through CGI if possible. This seems to be the stated purpose of the CGIXMLRPCRequestHandler, but I believe it is broken in some very serious way. </DIV>
<DIV>&nbsp;</DIV>
<DIV>The example code in the python online documentation calls a non-existant "div" function, so it was obviously a typing exercise, not actual code that anyone ever tested.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In researching the module, I found several requests on various mailing lists for example code -- not a single one ever had a response. When I've seen this before, it has turned out that either: a) it is terribly difficult, or b)it is stupidly simple. Since this is a tutor list, and I have seen the members graciously answer some questions that&nbsp;seemed pretty simple, I thought I'd post it here. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Since the only response (yours -- thanks again for responding!) was about xmlrpclib on the client side, not CGIXMLRPCRequestHandler on the server side, I can now conclude that it is terribly difficult, and slink off to publish&nbsp;using SOAP.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ron</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>On 6/23/05, Ron Phillips &lt;<A href="mailto:RPhillips@engineer.co.summit.oh.us">RPhillips@engineer.co.summit.oh.us</A>&gt; wrote:<BR>&gt;&nbsp; <BR>&gt; I believe I've tried every setting known to man, in every script in every<BR>&gt; little scrap of documentation available. XMLRPC requests using<BR>&gt; SimpleXMLRPCRequestHandler -- no problem. But try to run them as a CGI<BR>&gt; script, and I get system lock ups and that's all. No error codes; no<BR>&gt; response whatsoever. <BR>&gt;&nbsp;&nbsp; <BR>&gt; I am using Python 2.3, Windows XP. I have run other CGI scripts in the same<BR>&gt; directory, so I know that works. <BR>&gt;&nbsp;&nbsp; <BR>&gt; Has anyone used this successfully? Can you share demo server and client<BR>&gt; scripts -- just an echo function or something? <BR>&gt;&nbsp;&nbsp; <BR>&gt; Ron <BR></DIV></BODY></HTML>