On Mon, Apr 6, 2009 at 5:39 PM, Good Z goodz158@yahoo.com wrote:
On Sun, Apr 5, 2009 at 8:02 AM, Good Z goodz158@yahoo.com wrote:
Hello All,
I am using Python2.4 for my project. Unfortunately the httplib with that does not works well with HTTPS sites. As a result SUDS does not work. The same program works well with Python 2.6.
I wonder, is there any way I can use Suds with PyCurl or any other HTTP transport that works well with Python2.4.
A while back David Norton very helpfully wrote up a article on getting httplib to work. This works well for me connecting to our gsoap service over HTTPS, albeit using Python 2.5. Perhaps this might be of some help?
The article is available at: http://www.threepillarsoftware.com/soap_client_auth
Need one more favour. The code ask for 'keyFileName' and 'certFileName', how do i get them for third party website.
Yes that tripped me up too. What you are doing is establishing *your* identity to the remote service. For this purpose you can simply generate a self signed cert, as David points out in his write up, there is no checking that the cert is signed by a known CA.
For some examples, try this link:
http://www.akadia.com/services/ssh_test_certificate.html
Regards,
-Michael
Michael, Thank you very much. I appreciate your help. It worked seamlessly on Python2.4.3 Regards, Mike
________________________________ From: Michael Sommerville msommerville@gmail.com To: Good Z goodz158@yahoo.com Cc: fedora-suds-list@redhat.com Sent: Monday, April 6, 2009 10:32:32 PM Subject: Re: [Fedora-suds-list] Suds with PyCurl
On Mon, Apr 6, 2009 at 5:39 PM, Good Z goodz158@yahoo.com wrote:
On Sun, Apr 5, 2009 at 8:02 AM, Good Z goodz158@yahoo.com wrote:
Hello All,
I am using Python2.4 for my project. Unfortunately the httplib with that does not works well with HTTPS sites. As a result SUDS does not work. The same program works well with Python 2.6.
I wonder, is there any way I can use Suds with PyCurl or any other HTTP transport that works well with Python2.4.
A while back David Norton very helpfully wrote up a article on getting httplib to work. This works well for me connecting to our gsoap service over HTTPS, albeit using Python 2.5. Perhaps this might be of some help?
The article is available at: http://www.threepillarsoftware.com/soap_client_auth
Need one more favour. The code ask for 'keyFileName' and 'certFileName', how do i get them for third party website.
Yes that tripped me up too. What you are doing is establishing *your* identity to the remote service. For this purpose you can simply generate a self signed cert, as David points out in his write up, there is no checking that the cert is signed by a known CA.
For some examples, try this link:
http://www.akadia.com/services/ssh_test_certificate.html
Regards,
-Michael