iro/view/xmlrpc.py
branchdevel
changeset 296 a73bbc1d8b4b
parent 294 0e75bd39767d
child 312 42fd5075a5d1
equal deleted inserted replaced
295:dc3cc61c7f6f 296:a73bbc1d8b4b
    84 
    84 
    85 def appendResource(root):
    85 def appendResource(root):
    86     """adding XML-RPC and SOAP to root."""
    86     """adding XML-RPC and SOAP to root."""
    87     root.putChild('RPC2', XMLRPCInterface())
    87     root.putChild('RPC2', XMLRPCInterface())
    88     root.putChild('SOAP', SOAPInterface())
    88     root.putChild('SOAP', SOAPInterface())
    89     return root
       
    90 
    89 
    91 if __name__ == '__main__':
    90 if __name__ == '__main__':
    92     from twisted.web import resource, server
    91     from twisted.web import resource, server
    93     from twisted.internet import reactor
    92     from twisted.internet import reactor
    94     
    93