Search code examples
pythonweb-servicestwisted

Python web service


I'm doing server/client application similar to Ubuntu Landscape (http://www.canonical.com/enterprise-services/ubuntu-advantage/landscape) for my school project. The client part of application will send different informations (disk usage, packages etc.) to server. I know how to get informations and hot I'll handle them on the server side. But I don't know how what is the best way to exchange informations. Would SOAP be ok or is there any better way for doing this? Messages can be large (for example a list of installed packages) or very small. I was looking at Twisted but don't know where to start. I have experience with SOAP in PHP, Java and C#.

And recommnedation is welcome, thanks


Solution

  • Look into XMLRPC or JSON-RPC which is likely supported in some why by all language through modules or packages.

    SOAP is a complete bloat and widely considered as a failed hype.