Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > WSDL and SSL certification

Reply
Thread Tools

WSDL and SSL certification

 
 
jineshpmj@gmail.com
Guest
Posts: n/a
 
      11-27-2008
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
file = 'RhapsodyDirectSearch.wsdl'
file1= "RhapsodyDirectPlayback.wsdl"
server = WSDL.Proxy(file)
print server.methods.keys()
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
File "C:\Python25\Lib\site-packages\SOAPpy\Client.py", line 347, in
__call
config = self.config)
File "C:\Python25\Lib\site-packages\SOAPpy\Client.py", line 187, in
call
r.endheaders()
File "C:\Python25\lib\httplib.py", line 860, in endheaders
self._send_output()
File "C:\Python25\lib\httplib.py", line 732, in _send_output
self.send(msg)
File "C:\Python25\lib\httplib.py", line 699, in send
self.connect()
File "C:\Python25\lib\httplib.py", line 1135, in connect
ssl = socket.ssl(sock, self.key_file, self.cert_file)
File "C:\Python25\lib\socket.py", line 74, in ssl
return _realssl(sock, keyfile, certfile)
socket.sslerror: (1, 'error:14094410:SSL
routines:SSL3_READ_BYTES:sslv3 alert handshake failure')

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
 
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
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
wsdl.exe fails with WebMethods generated wsdl file mrnu ASP .Net Web Services 0 06-07-2004 04:51 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP .Net Web Services 0 08-13-2003 06:38 AM



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