Bug #48216 [Csd->ReO]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
From: dmitry@php.net Date: Mon, 03 Aug 2015 10:20:11 +0000 Subject: Bug #48216 [Csd->ReO]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-194927@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=48216&edit=1
ID: 48216
Updated by: dmitry@php.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: Closed
+Status: Re-Opened
Type: Bug
-Package: SOAP related
+Package: Streams related
Operating System: CentOs 5.3
-PHP Version: 5.3.0RC2
+PHP Version: *
-Assigned To: dmitry
+Assigned To:
Block user comment: N
Private report: N
New Comment:
It looks like web server sends HTTP response with proper Context-Length header, but after the
regular context it sends additional HTTP headers. libxml and PHP stream layer don't take into
account the Context-Length header value and read the following HTTP headers into libxml buffer. This
cause the error.
This is not realated to ext/soap, but to PHP stream layer in general.
However, I'm not sure how this may be fixed.
Previous Comments:
------------------------------------------------------------------------
[2015-08-03 07:37:51] 582870795 at qq dot com
I'm also experiencing the same problem.
my php version is PHP 5.6.8
when I use soapclient like
$client = new SoapClient('http://61.145.229.29:9003/MWGate/wmgw.asmx?WSDL')
Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
------------------------------------------------------------------------
[2013-11-17 09:35:05] laruence@php.net
Automatic comment on behalf of dmitry
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b3522ffdcb738a2f27b042008351c67dc7965ba8
Log: Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the
doc, when server uses chunked transfer encoding with spaces after chunk size)
------------------------------------------------------------------------
[2012-07-24 23:38:31] rasmus@php.net
Automatic comment on behalf of dmitry
Revision: http://git.php.net/?p=php-src.git;a=commit;h=b3522ffdcb738a2f27b042008351c67dc7965ba8
Log: Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the
doc, when server uses chunked transfer encoding with spaces after chunk size)
------------------------------------------------------------------------
[2012-07-23 18:51:49] jbl dot foruns at gmail dot com
Same problem here.
PHP 5.3.10-1ubuntu3.2 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:58)
Linux srv10 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
------------------------------------------------------------------------
[2012-05-16 23:31:59] apolinux at gmail dot com
I have the same problem with php 5.3.10-1ubuntu3.1 with Suhosin-Patch released this year.
my ubuntu is pangolin precise.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=48216
--
Edit this bug report at https://bugs.php.net/bug.php?id=48216&edit=1
Thread (38 messages)
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Opn]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Opn->Fbk]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Fbk]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [NoF->Fbk]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [NoF->Opn]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Opn->Asn]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Asn->Csd]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Com]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Csd->ReO]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [ReO->Fbk]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
- Bug #48216 [Fbk->NoF]: PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc
| « previous | php.bugs (#194927) | next » |
|---|