Skip Montanaro wrote:
> If so, you need to qualify the reference to the handler class like
>
> SimpleXMLRPCServer.CGIXMLRPCRequestHandler
Again thanks, that works. If I weren't worried about jinxing myself I'd say
I seem to be in pretty good shape at this point...
Ted
--
http://mail.pyth
Check these out ->
http://server3.sleekcom.com/~jaime/webservice.html (syntax highlighted version)
http://server3.sleekcom.com/~jaime/webservice.txt (savable text version)
HTH,
jw
On Wed, 01 Dec 2004 20:04:46 GMT, ted holden <[EMAIL PROTECTED]> wrote:
> Jaime Wyant wrote:
>
> > Mark Pilgrim wro
>> Have you looked in your web server's error log file?
ted> Shoulda thought of that It's telling me that the name
ted> CGIXMLRPCRequestHandler is not found. In other words, it is trying
ted> to execute the proper file at least. I'd have that that importing
ted> SimpleX
Jaime Wyant wrote:
> Mark Pilgrim wrote a really neat piece of python code that did XML-RPC
> over CGI. It seems to have disappeared from his website, though
> (http://diveintomark.org/public/webservices.txt).
>
> If you can't dig it up, I have a working copy that I use. I'll post
> it / email
Mark Pilgrim wrote a really neat piece of python code that did XML-RPC
over CGI. It seems to have disappeared from his website, though
(http://diveintomark.org/public/webservices.txt).
If you can't dig it up, I have a working copy that I use. I'll post
it / email it if you want.
jw
On Wed, 1
ted> The only other real question is what about the cgi servers? I'd
ted> assume I'd take the example given:
ted> class MyFuncs:
ted> def div(self, x, y) : return div(x,y)
ted> handler = CGIXMLRPCRequestHandler()
ted> handler.register_function(pow)
ted> handler.re
ted> Would several web services on the same server listen on different
ted> ports (, 8889, 8890...) or on the same port?
Port numbers are never implicit. You need to provide a listen port each
time you start the server.
Skip
--
http://mail.python.org/mailman/listinfo/python-list
Skip Montanaro wrote:
> ted> I don't see what "lambda" is or how a lambda function is supposed
> ted> to be construed as adding two numbers together.
>
> Lambda is a keyword in Python used to create and return very simple
> (single-expression) functions. Lambda expressions can be used a
ted> The example given in the Python documentation for
ted> SimpleXMLRPCServer is more or less incomprehensible.
Agreed, there is a doc fix needed. Try mentally adding
from math import *
to the start of the example. That will get you the pow function. It's
still incorrect thoug
I have a project for which being able to write xmlrpc server code in python
would be vastly preferable to the second choice solution for a number of
reasons. Unfortunately, pretty much everything I see on the net in the way
of documentation appears either insufficient or outdated.
The example gi
10 matches
Mail list logo