Asynchronous SimpleXMLRpcServer

G

Guyon Morée

hi all,

maybe this is a stupid question, but I'll ask it anyway.

does the SimpleXMLRpcServer handle connection asynchronous?

if not, how can I make it asynchronous?


thanx,

Guyon
 
A

Andrew Bennetts

hi all,

maybe this is a stupid question, but I'll ask it anyway.

does the SimpleXMLRpcServer handle connection asynchronous?

I don't think it does, as it just uses SocketServer.
if not, how can I make it asynchronous?

This isn't exactly what you asked, but you can do asynchronous XML-RPC
easily with Twisted. Here's some example code:

http://twistedmatrix.com/documents/examples/xmlrpc.py

The docs for the XML-RPC support are here:

http://twistedmatrix.com/documents/howto/xmlrpc

-Andrew.
 
G

Guyon Morée

thanx,

that's all I needed to know.


hi all,

maybe this is a stupid question, but I'll ask it anyway.

does the SimpleXMLRpcServer handle connection asynchronous?

I don't think it does, as it just uses SocketServer.
if not, how can I make it asynchronous?

This isn't exactly what you asked, but you can do asynchronous XML-RPC
easily with Twisted. Here's some example code:

http://twistedmatrix.com/documents/examples/xmlrpc.py

The docs for the XML-RPC support are here:

http://twistedmatrix.com/documents/howto/xmlrpc

-Andrew.
 
N

Ng Pheng Siong

According to Guyon Morée said:
does the SimpleXMLRpcServer handle connection asynchronous?
if not, how can I make it asynchronous?

M2Crypto has examples of XMLRPC/HTTPS server for both SocketServer and
Medusa.

ZServerSSL, which is bundled with it, allows XMLRPC/HTTPS calls into Zope.

See URL in .sig.

HTH.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top