|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53302 SoapClient::SoapClient ignores include_path
Submitted: 2010-11-12 21:55 UTC Modified: -
Avg. Score:4.2 ± 1.0
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:2 (40.0%)
From: zelnaga at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.3 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: zelnaga at gmail dot com
New email:
PHP Version: OS:


 [2010-11-12 21:55 UTC] zelnaga at gmail dot com
Say test.wsdl is placed in the include_path but that the script running is not.

Test script:
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


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Mar 25 14:04:13 2023 UTC