Bug #70726 [Opn->Fbk]: SoapClient fails with some validated WSDL containing comments
| From: | cmb@php.net | Date: | Tue, 23 Mar 2021 17:02:15 +0000 |
| Subject: | Bug #70726 [Opn->Fbk]: SoapClient fails with some validated WSDL containing comments | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232950@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
Updated by: cmb@php.net
Reported by: marco dot marsala at live dot it
Summary: SoapClient fails with some validated WSDL containing
comments
-Status: Open
+Status: Feedback
Type: Bug
Package: SOAP related
Operating System: CentOS 6.7
PHP Version: 5.6.14
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I cannot reproduce this with PHP-7.4, but the linked WSDL
apparently has no comments. Anyhow, do you still experience this
problem with any of the actively supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2015-10-16 09:58:46] marco dot marsala at live dot it
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.
------------------------------------------------------------------------
[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