Hassan Schroeder wrote:
I have been trying to connect to a secured link(https) which is
pointing to a wsdl file. I am using SOAP4R for this. But it is giving me
an exception which says " hostname was not match with the server
certificate". I really cant figure out what is the problem.
Yes I have tried accessing the URL with a browser and it gives me
website's security certificate error. What to do in this case? Actually
I am a newbie to ruby on rails so dont know much how to go about things.
The options I can see are:
1) get the site to fix the problem with the cert,
2) access the site using the name on the cert,
3) rescue the exception being thrown and ignore it
Hassan Schroeder ------------------------ firstname.lastname@example.org
Actually the problem I was facing got solved.The was I was connecting
was correct. Probably there was some issue with the certificate of the
URL that I was trying to connect to.I connected to another url now from
which I can access the methods .Thanks alot for the help.