[BangPypers] web services

Darkseid lorddaemon at gmail.com
Sun Oct 4 21:18:17 CEST 2009


I'd strongly recommend giving SOAP a pass and going with REST unless you 
need to integrate with an existing legacy SOAP system.

Best,
Sidu.

Anand Balachandran Pillai wrote:
>
>
> On Thu, Oct 1, 2009 at 1:39 PM, sudhakar s <ssquery at gmail.com 
> <mailto:ssquery at gmail.com>> wrote:
>
>     I was trying SOAP web services.How to construct .
>
>
>
>  Use SOAPpy. Here is the straight dope without any WSDL etc.
>
> from SOAPPy import ThreadingSOAPServer
>
> server = ThreadingSOAPServer(('0.0.0.0', 8888))
> server.registerFunction(check)
> server.registerFunction(dummy)
> server.serve_forever()
>
> Now your functions "check" and "dummy" are available to a SOAP client
> at localhost:8888 port.
>
> Please don't CC non-relevant lists in your posts. X-posting
> is a virtue rarely, only if you know what you are doing.
>  
>
>
>
>         --
>         The hidden harmony is better than the obvious!!
>         _______________________________________________
>         BangPypers mailing list
>         BangPypers at python.org <mailto:BangPypers at python.org>
>         http://mail.python.org/mailman/listinfo/bangpypers
>
>
>
>
>     -- 
>     With Regards,
>     S Sudhakar.
>
>     _______________________________________________
>     BangPypers mailing list
>     BangPypers at python.org <mailto:BangPypers at python.org>
>     http://mail.python.org/mailman/listinfo/bangpypers
>
>
>
>
> -- 
> --Anand
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>   


More information about the BangPypers mailing list