Bug #70726 [Com]: SoapClient fails with some validated WSDL containing comments
| From: | marco dot marsala at live dot it | Date: | Fri, 16 Oct 2015 09:58:49 +0000 |
| Subject: | Bug #70726 [Com]: SoapClient fails with some validated WSDL containing comments | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196642@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70726&edit=1
ID: 70726
Comment by: marco dot marsala at live dot it
Reported by: marco dot marsala at live dot it
Summary: SoapClient fails with some validated WSDL containing
comments
Status: Open
Type: Bug
Package: SOAP related
Operating System: CentOS 6.7
PHP Version: 5.6.14
Block user comment: N
Private report: N
New Comment:
I made some tests with other versions of PHP:
5.4.45: no exceptions are trown (expected result)
5.5.30: no exceptions are trown (expected result)
So the problem was INTRODUCED in the 5.6.x branch.
Previous Comments:
------------------------------------------------------------------------
[2015-10-16 09:51:52] marco dot marsala at live dot it
Description:
------------
The SoapClient in WSDL mode fails with well-formed and validated WSDL containing comments.
I'm experiencing this problem in PHP 5.6.14. The same code, with the same WSDL, works perfectly
in PHP 5.3.3 on the same machine.
Test script:
---------------
try {
$client = new SoapClient('https://admin.fatturapa.aruba.it/fatturapaupload/uploadws?wsdl');
} catch(Exception $e) {
var_dump($e)
}
Expected result:
----------------
No exceptions are thrown.
Actual result:
--------------
Exception is thrown on PHP 5.6.14
No exceptions are thrown on PHP 5.3.3 on the same machine.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70726&edit=1