RE: [SOAP] Problems with https vs http on soap request
| From: | Don O'Neil | Date: | Tue, 02 Feb 2016 20:54:55 +0000 |
| Subject: | RE: [SOAP] Problems with https vs http on soap request | ||
| References: | 1 2 3 4 5 6 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3419@lists.php.net to get a copy of this message | ||
That was the trick... as soon as I pointed it to the curl CA file then it worked.
Thanks!
-----Original Message-----
From: Aziz Saleh [mailto:azizsaleh@gmail.com]
Sent: Tuesday, February 02, 2016 12:41 PM
To: Don O'Neil <lists@lizardhill.com>
Cc: Peter Brunnengräber <pbrunnen@bccglobal.com>; soap@lists.php.net
Subject: Re: [SOAP] Problems with https vs http on soap request
On Tue, Feb 2, 2016 at 3:26 PM, Don O'Neil <lists@lizardhill.com> wrote:
> Yes... a simple curl statement from the CLI opens the https site ok
> without any problems;
>
> curl 'https://ws.cdyne.com/ip2geo/ip2geo.asmx?wsdl'
>
> <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions
> xmlns:s="http://www.w3.org/2001/XMLSchema"
>
> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
> xmlns:http="
> http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="
> http://schemas.xmlsoap.org/wsdl/mime/"
> xmlns:tns="http://ws.cdyne.com/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:tm="
> http://microsoft.com/wsdl/mime/textMatching/"
> xmlns:soapenc="
> http://schemas.xmlsoap.org/soap/encoding/"
> targetNamespace="
> http://ws.cdyne.com/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
> .......
>
> Any other ideas?
>
> -----Original Message-----
> From: Peter Brunnengräber [mailto:pbrunnen@bccglobal.com]
> Sent: Tuesday, February 02, 2016 12:22 PM
> To: Don O'Neil <lists@lizardhill.com>
> Subject: Re: [SOAP] Problems with https vs http on soap request
>
> Hi Don,
> Did you look at Darko's response yet? I would next try to load the
> page using curl in PHP without the SOAP side of thing yet and see what
> happens.
>
> See> http://php.net/manual/en/curl.examples.php
>
>
> -With kind regards,
> Peter Brunnengräber
>
>
> ----- Original Message -----
> From: "Don O'Neil" <lists@lizardhill.com>
> To: "Peter Brunnengräber" <pbrunnen@bccglobal.com>, soap@lists.php.net
> Sent: Tuesday, February 2, 2016 3:15:01 PM
> Subject: RE: [SOAP] Problems with https vs http on soap request
>
> I verified that I can indeed get there ok with a wget statement. I get
> the same correctly expected results from a wget using http or https.
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>
> --
> PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>
I could be wrong, but you might need the following 2 configs set to the correct paths:
openssl.cafile => no value => no value
openssl.capath => no value => no value
For SSL to work.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus