|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-04-02 12:37 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2014-04-02 12:37 UTC] ab@php.net
[2014-05-08 16:06 UTC] ab@php.net
-Status: Feedback
+Status: No Feedback
[2014-05-08 16:06 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
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"