|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2023-06-15 08:03 UTC] shoppingideasblog at gmail dot com
[2024-05-31 19:58 UTC] nielsdos@php.net
-Status: Open
+Status: Not a bug
[2024-05-31 19:58 UTC] nielsdos@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 09:00:01 2025 UTC |
Description: ------------ Say test.wsdl is placed in the include_path but that the script running is not. Test script: --------------- <?php new SoapClient('test.wsdl', array()); ?> Expected result: ---------------- I would expect there to be no output - I would expect the test.wsdl file to be loaded from the include_path. Actual result: -------------- Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'test.wsdl' : failed to load external entity "APIService.wsdl" in /not/in/include/path/test.php:2 Stack trace: #0 /not/in/include/path/test.php2): SoapClient->SoapClient('test.wsdl', Array) #1 {main} thrown in /not/in/include/path/test.php on line 2