Can some one get me started with a  working SOAP server that works over
https. (SSL)?
I have M2Crypto installed and found the following sample, but something
is wrong in  ssl_context = SSL.Context()

Any help or tutorial appreciated?


    from SOAPpy import SOAPServer

    from M2Crypto import SSL

    def echo(s):
        return s+s # repeats a string twice

    ssl_context = SSL.Context()
    ssl_context.load_cert('server.pem')

    server = SOAPServer(("localhost",8443), ssl_context = ssl_context)
    server.registerFunction(echo)
    server.serve_forever()

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to