keyword arguments for xml-rpc

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • proteusguy@gmail.com

    #1

    keyword arguments for xml-rpc

    I've just noticed that I can't seem to use keyword arguments for
    xml-rpc requests even though the protocol itself encodes parameter
    names, types, and values when it sends the xml across the network.
    This becomes a bit problematic for me because I want to store some XML-
    RPC method dispatch signatures in a database and can't easily
    guarantee parameter order when I load it so being able to pass a
    dictionary of name/value pairs greatly eases the development effort
    and helps assure correct methods get invoked. Is this a limitation of
    the SimpleXMLRPCSer ver, the xmlrpclib.Serve rProxy, or something
    completely different?

  • Diez B. Roggisch

    #2
    Re: keyword arguments for xml-rpc

    proteusguy@gmai l.com wrote:
    I've just noticed that I can't seem to use keyword arguments for
    xml-rpc requests even though the protocol itself encodes parameter
    names, types, and values when it sends the xml across the network.
    This becomes a bit problematic for me because I want to store some XML-
    RPC method dispatch signatures in a database and can't easily
    guarantee parameter order when I load it so being able to pass a
    dictionary of name/value pairs greatly eases the development effort
    and helps assure correct methods get invoked. Is this a limitation of
    the SimpleXMLRPCSer ver, the xmlrpclib.Serve rProxy, or something
    completely different?
    I don't see[1] the possibility to pass keyword arguments via XMLRPC. Where
    did you get that impression from? You can pass structs though, maybe that
    confused you?


    Diez

    [1] http://www.xmlrpc.com/spec

    Comment

    • proteusguy@gmail.com

      #3
      Re: keyword arguments for xml-rpc

      Diez,

      Yes thanx - that (structs) is indeed where my confusion lies... :)
      Alas, ordered parameters it is.


      On Mar 19, 5:44 am, "Diez B. Roggisch" <d...@nospam.we b.dewrote:
      I don't see[1] the possibility to pass keyword arguments via XMLRPC. Where
      did you get that impression from? You can pass structs though, maybe that
      confused you?
      >
      Diez
      >
      [1]http://www.xmlrpc.com/spec

      Comment

      Working...