hn-nguyen / mac-soapclient

Automatically exported from code.google.com/p/mac-soapclient
0 stars 0 forks source link

Unable to connect to SOAP endpoint via https #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call any SOAP action via https
2.
3.

What is the expected output? What do you see instead?
Could not connect to SOAP endpoint.

What version of the product are you using? On what operating system?
Mac OS X 10.5.4, SOAPClient 1.6.3.1

Please provide any additional information below.

Original issue reported on code.google.com by gilberthuph@gmail.com on 28 Aug 2008 at 4:09

GoogleCodeExporter commented 8 years ago
Can you connect to the endpoint with your browser or any other tool (ie. curl)? 
Is there any more specific error 
message in the console?

Original comment by christia...@googlemail.com on 8 Mar 2009 at 1:48

GoogleCodeExporter commented 8 years ago
Yep I get this issue too. In my scenario I am dealing with a test server which 
only has a test certificate installed 
so when I access it in a browser i am given a warning and asked if i want to 
proceed which i do.

Would it be possible that something like this is tripping up the soap client, 
in that it can't handle untrusted 
certificates

Original comment by vincent....@gmail.com on 24 Mar 2009 at 7:18

GoogleCodeExporter commented 8 years ago
this might be the answer to this problem

http://www.cocoabuilder.com/archive/message/cocoa/2007/5/19/183405

It turns out that NSURLRequest has a methodallowsAnyHTTPSCertificateForHost 
which allows expired/invalid 
certificates to be used

Original comment by vincent....@gmail.com on 4 Apr 2009 at 7:48

GoogleCodeExporter commented 8 years ago
I'm also trying with https and username/password (via http protocol) and it 
crashes...

Original comment by filocamo...@gmail.com on 13 Apr 2009 at 1:01