Bug #66700 [NEW]: SoapClient issue in PHP 5.4.15
| From: | saneeshkv at gmail dot com | Date: | Wed, 12 Feb 2014 12:53:20 +0000 |
| Subject: | Bug #66700 [NEW]: SoapClient issue in PHP 5.4.15 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-184272@lists.php.net to get a copy of this message | ||
From: saneeshkv at gmail dot com
Operating system: Windows
PHP version: 5.4.25
Package: *XML functions
Bug Type: Bug
Bug description:SoapClient issue in PHP 5.4.15
Description:
------------
When we create a SoapClient object it shows the following error message
in PHP 5.4.15
SOAP-ERROR: Parsing WSDL: Couldn't load from '<server
name>/webservices/hello.xml' : failed to load external entity '<server
name>/webservices/hello.xml'
Note : It is working properly in PHP 5.4.3!
Test script:
---------------
try{
$sClient = new
SoapClient('http://mysitename.com/webservices/hello.xml');
$params = "Aqila";
$response = $sClient->doHello($params);
var_dump($response);
} catch(SoapFault $e){
var_dump($e);
}
Expected result:
----------------
object(SoapClient)[1]
public '_soap_version' => int 1
public 'sdl' => resource(4, Unknown)
public 'httpsocket' => resource(5, stream)
public '_use_proxy' => int 0
public 'httpurl' => resource(6, Unknown)
Actual result:
--------------
string(194) "SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://mysitename.com/webservices/hello.xml'
: failed to load external
entity "http://mysitename.com/webservices/hello.xml"
--
Edit bug report at https://bugs.php.net/bug.php?id=66700&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66700&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66700&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66700&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66700&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66700&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66700&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66700&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66700&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66700&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66700&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66700&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66700&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66700&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66700&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66700&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66700&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66700&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66700&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66700&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66700&r=mysqlcfg