472,144 Members | 2,022 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,144 software developers and data experts.

WSDL and SSL certification

Hi,

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.
eg:

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()
  6.  
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\Client.py", line 347, in __call
  2.     config = self.config)
  3.   File "C:\Python25\Lib\site-packages\SOAPpy\Client.py", line 187, in call
  4.     r.endheaders()
  5.   File "C:\Python25\lib\httplib.py", line 860, in endheaders
  6.     self._send_output()
  7.   File "C:\Python25\lib\httplib.py", line 732, in _send_output
  8.     self.send(msg)
  9.   File "C:\Python25\lib\httplib.py", line 699, in send
  10.     self.connect()
  11.   File "C:\Python25\lib\httplib.py", line 1135, in connect
  12.     ssl = socket.ssl(sock, self.key_file, self.cert_file)
  13.   File "C:\Python25\lib\socket.py", 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')
  16.  
  17. server.startPlaybackSession()
  18.  
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
1 3892
Curtis Rutland
3,256 Expert 2GB
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.

MODERATOR
Nov 21 '08 #2

Post your reply

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

Similar topics

24 posts views Thread by Generic Usenet Account | last post: by
5 posts views Thread by relaxedrob | last post: by
reply views Thread by saish | last post: by
reply views Thread by Elhanan | last post: by
9 posts views Thread by Cesar | last post: by
5 posts views Thread by Nick K. | last post: by
2 posts views Thread by Ashish | last post: by
5 posts views Thread by rhino | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.