Bug #53302 [Com]: SoapClient::SoapClient ignores include_path
| From: | shoppingideasblog at gmail dot com | Date: | Thu, 15 Jun 2023 08:03:27 +0000 |
| Subject: | Bug #53302 [Com]: SoapClient::SoapClient ignores include_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-244694@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=53302&edit=1
ID: 53302
Comment by: shoppingideasblog at gmail dot com
Reported by: zelnaga at gmail dot com
Summary: SoapClient::SoapClient ignores include_path
Status: Open
Type: Bug
Package: SOAP related
Operating System: Windows XP
PHP Version: 5.3.3
Block user comment: N
Private report: N
New Comment:
Shopping Ideas Blog are sharing latest news about shopping, clothing, fashion, lifestyle, wedding,
photopgarhy, gits, food etc. More info to visit: (https://shoppingideasblog.com)github.com
Previous Comments:
------------------------------------------------------------------------
[2010-11-12 21:55:07] zelnaga at gmail dot com
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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53302&edit=1