Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > SSL support in SOAPpy to build a SOAP server

Reply
Thread Tools

SSL support in SOAPpy to build a SOAP server

 
 
johnmiloo@gmail.com
Guest
Posts: n/a
 
      05-11-2006
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()

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAPpy SOAP and/or WSDL Question Rodney Python 0 12-04-2005 04:08 AM
A beginer question about SOAP and Python: <SOAPpy.Types.structType HashStringResponse at 23909440>: {} Jim Python 1 04-14-2005 10:26 AM
SOAPpy/ZSI/Twisted SOAP over stdin/stdout? Harry George Python 1 12-01-2004 03:39 PM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
SOAPpy : How do I prefix items with a string in a SOAP/XML request? Doug Farrell Python 0 08-28-2003 01:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57