Bug #71984 [NEW]: SOAP-ERROR: Parsing WSDL: Couldn't load from...

From: Date: Thu, 07 Apr 2016 16:54:37 +0000
Subject: Bug #71984 [NEW]: SOAP-ERROR: Parsing WSDL: Couldn't load from...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200429@lists.php.net to get a copy of this message
From: stef at rouschop dot com Operating system: Ubuntu 14.4 PHP version: 7.0.5 Package: SOAP related Bug Type: Bug Bug description:SOAP-ERROR: Parsing WSDL: Couldn't load from... Description: ------------ I've deployed a new server with php 7.0.5-2+deb.sury.org~trusty+1 (and included php7.0-SOAP) and I noticed the SOAP script was generating a SOAP-ERROR: SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://demo.l1nda.nl/api/webservice/?wsdl' : failed to load external entity "https://demo.l1nda.nl/api/webservice/?wsdl" in.... After some investigation I noticed that on other servers where 7.0.3-5+deb.sury.org~trusty+1 is installed there are no errors. This is the small script I'm using for my tests on the servers to see if it works/fails: Test script: --------------- $client = new \SoapClient("https://demo.l1nda.nl/api/webservice/?wsdl", ["trace" => 1,"exceptions" => true,]); var_dump($client->__getFunctions()); Expected result: ---------------- array:6 [ 0 => "sendResponse send(send $send)" 1 => "get_changed_eventsResponse get_changed_events(get_changed_events $get_changed_events)" 2 => "get_eventsResponse get_events(get_events $get_events)" 3 => "sendResponse send(send $send)" 4 => "get_changed_eventsResponse get_changed_events(get_changed_events $get_changed_events)" 5 => "get_eventsResponse get_events(get_events $get_events)" ] Actual result: -------------- SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://demo.l1nda.nl/api/webservice/?wsdl' : failed to load external entity "https://demo.l1nda.nl/api/webservice/?wsdl" in.... -- Edit bug report at https://bugs.php.net/bug.php?id=71984&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71984&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71984&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71984&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71984&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71984&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71984&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71984&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71984&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71984&r=support Expected behavior: https://bugs.php.net/fix.php?id=71984&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71984&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71984&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71984&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71984&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71984&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71984&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71984&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71984&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71984&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71984&r=mysqlcfg

« previous php.bugs (#200429) next »