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.loa d_cert('server. pem')
server = SOAPServer(("lo calhost",8443), ssl_context = ssl_context)
server.register Function(echo)
server.serve_fo rever()
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.loa d_cert('server. pem')
server = SOAPServer(("lo calhost",8443), ssl_context = ssl_context)
server.register Function(echo)
server.serve_fo rever()