php.net |  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: -
Votes:5
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zelnaga at gmail dot com
New email:
PHP Version: OS:

 

 [2010-11-12 21:55 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-06-15 08:03 UTC] shoppingideasblog at gmail dot com
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC