Asynchronous SimpleXMLRpcServer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guyon Morée

    Asynchronous SimpleXMLRpcServer

    hi all,

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

    does the SimpleXMLRpcSer ver handle connection asynchronous?

    if not, how can I make it asynchronous?


    thanx,

    Guyon


  • Andrew Bennetts

    #2
    Re: Asynchronous SimpleXMLRpcSer ver

    On Wed, Dec 03, 2003 at 01:30:40PM +0100, Guyon Morée wrote:[color=blue]
    > hi all,
    >
    > maybe this is a stupid question, but I'll ask it anyway.
    >
    > does the SimpleXMLRpcSer ver handle connection asynchronous?[/color]

    I don't think it does, as it just uses SocketServer.
    [color=blue]
    > if not, how can I make it asynchronous?[/color]

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



    The docs for the XML-RPC support are here:



    -Andrew.


    Comment

    • Guyon Morée

      #3
      Re: Asynchronous SimpleXMLRpcSer ver

      thanx,

      that's all I needed to know.


      "Andrew Bennetts" <andrew-pythonlist@puzz ling.org> wrote in message
      news:mailman.71 .1070459453.168 79.python-list@python.org ...
      On Wed, Dec 03, 2003 at 01:30:40PM +0100, Guyon Morée wrote:[color=blue]
      > hi all,
      >
      > maybe this is a stupid question, but I'll ask it anyway.
      >
      > does the SimpleXMLRpcSer ver handle connection asynchronous?[/color]

      I don't think it does, as it just uses SocketServer.
      [color=blue]
      > if not, how can I make it asynchronous?[/color]

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



      The docs for the XML-RPC support are here:



      -Andrew.



      Comment

      • Ng Pheng Siong

        #4
        Re: Asynchronous SimpleXMLRpcSer ver

        According to Guyon Morée <gumuz@looze.ne t>:[color=blue]
        > does the SimpleXMLRpcSer ver handle connection asynchronous?
        > if not, how can I make it asynchronous?[/color]

        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.

        --
        Ng Pheng Siong <ngps@netmemeti c.com>

        http://firewall.rulemaker.net -+- All Your Rulebase Are Belong To You[tm]
        http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL

        Comment

        Working...