ID: 49226
Comment by: evalds at 2egames dot com
Reported By: richard at rjharrison dot org
Status: Feedback
Bug Type: SOAP related
Operating System: linux
PHP Version: 5.3.0
New Comment:
I am using latest PHP 5.3 and still having this annoying bug -
the easy quick fix for SoapServer error is to add header like (thank
you
"stig dot woxholt at fotoknudsen dot no" for indentifiying the
problem).
To fix this you have to add content-length in your wsdl generator
code:
header('Content-Length: '.strlen($strWsdl));
echo $restOfWsdl;
Previous Comments:
------------------------------------------------------------------------
[2009-10-07 18:30:16] [email protected]
See also Bug #48216 PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra
content at the end of the doc
------------------------------------------------------------------------
[2009-10-07 16:28:23] petro at eps1lon dot com
That should be 5.3.1RC1.
------------------------------------------------------------------------
[2009-10-07 16:25:01] petro at eps1lon dot com
I was having the same problem with SoapClient under 5.3.0. It is
working fine under 5.3.RC1.
------------------------------------------------------------------------
[2009-10-01 11:37:09] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-09-30 18:26:54] [email protected]
Evrard mailed me a HTTP trace, which I put here:
http://pastebin.com/f25b554f9
I could reproduce this with PHP 5.3, not PHP 5.3-HEAD, so this may have
already been fixed in trunk.
------------------------------------------------------------------------
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/49226
--
Edit this bug report at http://bugs.php.net/?id=49226&edit=1