Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP SoapClient unable to work with https WS
    text
    copied!<p>i have a problem working with PHP SoapClient with a WS (WSDL) that contains https. my PHP version is 5.2.5. before you ask, yes, i am using PHP's Soap and openSSL extentions.</p> <p>the URL i am trying to reach is: <a href="https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL" rel="nofollow noreferrer">https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL</a></p> <p>the code i am using:</p> <pre><code>$url = "https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL"; $options["connection_timeout"] = 25; $options["location"] = $url; $client = new SoapClient($url,$options); </code></pre> <p>it fails while constructing the SoapClient, and i get the following error:</p> <blockquote> <p>Warning: SoapClient::SoapClient(<a href="https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL" rel="nofollow noreferrer">https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL</a>): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\MY-DEV-FOLDER\index.php on line 42 Warning: SoapClient::SoapClient(): I/O warning : failed to load external entity "<a href="https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL" rel="nofollow noreferrer">https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL</a>" in C:\MY-DEV-FOLDER\index.php on line 42 Exception thrown - SOAP-ERROR: Parsing WSDL: Couldn't load from '<a href="https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL" rel="nofollow noreferrer">https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL</a>'</p> </blockquote> <p>can anyone tell me what is the problem?</p> <p>thanks</p> <p>Erez</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload