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

From: Date: Sun, 28 Feb 2021 04:22:08 +0000
Subject: Bug #48216 [Fbk->NoF]: 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-232422@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:       php-bugs@lists.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:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Streams related
 Operating System: CentOs 5.3
 PHP Version:      *
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2021-02-16 14:16:49] cmb@php.net

I cannot reproduce this with PHP-7.4.  If anybody still gets this
error with any of the actively supported PHP versions[1], please
provide the URI of a publicly available WDSL which causes that
error.

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[2015-08-03 10:20:06] dmitry@php.net

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.

------------------------------------------------------------------------
[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)

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


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)

« previous php.bugs (#232422) next »