Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc

[email protected] ("roy dot laurie at gmail dot com") Thu, 1 Apr 2010 01:11:25 +0200 (CEST)
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at http://bugs.php.net/bug.php?id=48216&edit=1

 ID:               48216
 Comment by:       roy dot laurie 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:           No Feedback
 Type:             Bug
 Package:          SOAP related
 Operating System: CentOs 5.3
 PHP Version:      5.3.0RC2

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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".

------------------------------------------------------------------------
[2009-12-13 19:05:05] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2009-12-02 16:29:03] php dot net at drsdre dot org

Had the same issue with PHP 5.3.0. Content-lenght was available in the
header, but PHP gace fatel error 'extra content at the end of the
document'.

With php-5.3-win32-VC6-x85-latest.zip the WSDL is being read without
problems.

------------------------------------------------------------------------


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