By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,818 Members | 1,282 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,818 IT Pros & Developers. It's quick & easy.

WSDL and SSL certification

P: 1

I have a problem with processing WSDL file using SOAP.

I want to call Rhapsody webservice using Python.

But i have SSL certification key and cert , how to pass this information when i calling wsdl file.

Expand|Select|Wrap|Line Numbers
  1. file = 'RhapsodyDirectSearch.wsdl'
  2. file1= "RhapsodyDirectPlayback.wsdl"
  3. server =  WSDL.Proxy(file)
  4. print server.methods.keys()
  5. print "Number is ", server.getVersionString()
I am using playback wsdl ,but it required ssl certification, when i call these methods , i get an error like
Expand|Select|Wrap|Line Numbers
  1. File "C:\Python25\Lib\site-packages\SOAPpy\", line 347, in __call
  2.     config = self.config)
  3.   File "C:\Python25\Lib\site-packages\SOAPpy\", line 187, in call
  4.     r.endheaders()
  5.   File "C:\Python25\lib\", line 860, in endheaders
  6.     self._send_output()
  7.   File "C:\Python25\lib\", line 732, in _send_output
  8.     self.send(msg)
  9.   File "C:\Python25\lib\", line 699, in send
  10.     self.connect()
  11.   File "C:\Python25\lib\", line 1135, in connect
  12.     ssl = socket.ssl(sock, self.key_file, self.cert_file)
  13.   File "C:\Python25\lib\", line 74, in ssl
  14.     return _realssl(sock, keyfile, certfile)
  15. socket.sslerror: (1, 'error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure')
  17. server.startPlaybackSession()
How to solve these ....
Please help me

How to pass ssl certificaction to process wsdl file.I am using SOAP method

Please give me answer ,it is very urgent
Nov 21 '08 #1
Share this Question
Share on Google+
1 Reply

Curtis Rutland
Expert 2.5K+
P: 3,256
Please enclose your posted code in [CODE] [/CODE] tags (See How to Ask a Question). Code tags preserve indention and uses a monospaced font.

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.

Please use [CODE] [/CODE] tags in future.

Nov 21 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.