Edit report at http://bugs.php.net/bug.php?id=48216&edit=1
ID: 48216
Comment by: eaf at oyatel dot no
Reported by: mark at everytruckjob dot com
Summary: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra
content at the end of the doc
Status: No Feedback
Type: Bug
Package: SOAP related
Operating System: CentOs 5.3
PHP Version: 5.3.0RC2
New Comment:
Wow, this is bad, still not fixed in PHP 5.3.2.
Can this please be fixed for PHP 5.3.3?
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2010-01-08 20:02:28] mike at pixor dot net
I downloaded the 1/6/10 5.3.3-dev snapshot and was still having issues
with SOAP WSDL file parsing. 5.2.12 works fine. Please keep this issue
open.
------------------------------------------------------------------------
[2009-12-21 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
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