473,378 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 4107
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

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

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
2
by: Ashish | last post by:
I was planning to give 704 Advanced DBA Certification. Wanted to know is it really worth doing that certification , as how much this certification is valued for? I am into a organization where...
5
by: rhino | last post by:
I have some questions about DB2 certification. 1. Are the DB2 V8 exams still available, specifically in the Toronto area? I went to the certification portion of the IBM website and it took me to...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.