php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70726 SoapClient fails with some validated WSDL containing comments
Submitted: 2015-10-16 09:51 UTC Modified: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: marco dot marsala at live dot it Assigned:
Status: Open Package: SOAP related
PHP Version: 5.6.14 OS: CentOS 6.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-10-16 09:51 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-16 09:58 UTC] 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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 22:01:27 2019 UTC