Edit report at http://bugs.php.net/bug.php?id=48216&edit=1
ID: 48216
Comment by: nadavvin at gmail dot com
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:
also happen in the newly PHP version 5.3,3
Previous Comments:
------------------------------------------------------------------------
[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);
------------------------------------------------------------------------
[2010-04-01 01:11:25] roy dot laurie at gmail dot com
Verified in 5.3.2 against the Yahoo! EWS service.
HTTP/1.1 200 OK
Date: Wed, 31 Mar 2010 23:04:51 GMT
p3p: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR
ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi
PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Connection: close
Transfer-Encoding: chunked
Content-Type: text/xml;charset=utf-8
PHP 5.3.2 (cli) (built: Mar 5 2010 15:08:05)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by
eAccelerator
with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans
------------------------------------------------------------------------
[2010-01-11 15:46:45] mike dot hall at twistdigital dot co dot uk
I'm having the same issue, also using chunked-encoding.
Date: Mon, 11 Jan 2010 15:44:23 GMT
Last-Modified: Fri, 09 Oct 2009 13:49:56 GMT
Accept-Ranges: bytes
Content-Type: text/xml
Cache-Control: private
Content-Encoding: gzip
Transfer-Encoding: chunked
------------------------------------------------------------------------
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