Edit report at http://bugs.php.net/bug.php?id=48216&edit=1
ID: 48216
Comment by: tonybrown at cox dot net
Reported by: mark at everytruckjob dot com
Summary: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra
content at the end of the doc
Status: Open
Type: Bug
Package: SOAP related
Operating System: CentOs 5.3
PHP Version: 5.3.0RC2
Block user comment: N
New Comment:
I downloaded the latest 5.3.3, running on Fedora 13, ran into this
problem, is there a good solution? I may need to fall back to
5.2.something because we require WSDL. If I can't parse a WSDL file, I'm
screwed, because the ICD prescribes it. I did get non-WSDL to work, but
I'm not yet sure if that will be acceptable. I can get the same high
level functionality, but then I won't be ICD-compliant. I am also
worried that if I fall back to 5.2.something I will then run into other
bugs that 5.3.3 might have fixed.
Previous Comments:
------------------------------------------------------------------------
[2010-08-08 13:28:06] nadavvin at gmail dot com
also happen in the newly PHP version 5.3.3
------------------------------------------------------------------------
[2010-08-08 13:25:35] nadavvin at gmail dot com
also happen in the newly PHP version 5.3,3
------------------------------------------------------------------------
[2010-07-27 13:17:59] derek dot ethier at humber dot ca
I'm experiencing the same issue with the following WSDL file:
https://qa.everbridge.net/ws3/services/WebServices3?wsdl
I'm using 5.2.13 on Windows Server 2008.
Here is the XML parsing error:
object(LibXMLError)#1 (6) {
["level"]=>
int(3)
["code"]=>
int(5)
["column"]=>
int(5)
["message"]=>
string(41) "Extra content at the end of the document
"
["file"]=>
string(56) "https://qa.everbridge.net/ws3/services/WebServices3?wsdl"
["line"]=>
int(537)
}
------------------------------------------------------------------------
[2010-04-29 19:08:59] eaf at oyatel dot no
Wow, this is bad, still not fixed in PHP 5.3.2.
Can this please be fixed for PHP 5.3.3?
------------------------------------------------------------------------
[2010-04-01 01:33:11] roy dot laurie at gmail dot com
Also, this is the current workaround that I'm using to get around this:
//+ral HACK: v5.3.x / libxml - http://bugs.php.net/bug.php?id=48216
//- $soapClient = new SoapClient("{$serviceUri}?wsdl", $soapOptions);
$tmpWsdlPath = tempnam(sys_get_temp_dir(), 'wsdl');
copy("{$serviceUri}?wsdl", $tmpWsdlPath);
$soapClient = new SoapClient($tmpWsdlPath, $soapOptions);
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=48216
--
Edit this bug report at http://bugs.php.net/bug.php?id=48216&edit=1