ID: 48216 Comment by: dmitry dot dulepov at gmail dot com Reported By: mark at everytruckjob dot com Status: No Feedback Bug Type: SOAP related Operating System: CentOs 5.3 PHP Version: 5.3.0RC2 New Comment:
Same issue on PHP 5.3 that comes with Mac OS X: Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typo3.org/wsdl/tx_ter_wsdl.php' : Extra content at the end of the document in /Users/user/Projects/TYPO3/typo3_src- 4.2.6/typo3/mod/tools/em/class.em_soap.php on line 115 Previous Comments: ------------------------------------------------------------------------ [2009-10-30 15:04:50] nadavkav at gmail dot com similar issue, on Debian unstable , PHP/5.3.0-3 laptop:/var/www/moodle-weekly/wspp/clients# ./mkclasses.sh PHP Notice: Undefined offset: 2 in /var/www/moodle- weekly/wspp/wsdl2php.php on line 84 PHP Notice: Undefined offset: 2 in /var/www/moodle- weekly/wspp/wsdl2php.php on line 85 PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/moodle-weekly/wspp/wsdl_pp.php' : Extra content at the end of the document in /var/www/moodle-weekly/wspp/wsdl2php.php on line 88 SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/moodle-weekly/wspp/wsdl_pp.php' : Extra content at the end of the document in /var/www/moodle-weekly/wspp/wsdl2php.php:88 Stack trace: #0 /var/www/moodle-weekly/wspp/wsdl2php.php(88): SoapClient- >SoapClient('http://localhos...') #1 {main}laptop:/var/www/moodle-weekly/wspp/clients# ------------------------------------------------------------------------ [2009-10-30 15:04:23] nadavkav at gmail dot com similar issue, on Debian unstable , PHP/5.3.0-3 laptop:/var/www/moodle-weekly/wspp/clients# ./mkclasses.sh PHP Notice: Undefined offset: 2 in /var/www/moodle- weekly/wspp/wsdl2php.php on line 84 PHP Notice: Undefined offset: 2 in /var/www/moodle- weekly/wspp/wsdl2php.php on line 85 PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/moodle-weekly/wspp/wsdl_pp.php' : Extra content at the end of the document in /var/www/moodle-weekly/wspp/wsdl2php.php on line 88 SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost/moodle-weekly/wspp/wsdl_pp.php' : Extra content at the end of the document in /var/www/moodle-weekly/wspp/wsdl2php.php:88 Stack trace: #0 /var/www/moodle-weekly/wspp/wsdl2php.php(88): SoapClient- >SoapClient('http://localhos...') #1 {main}laptop:/var/www/moodle-weekly/wspp/clients# ------------------------------------------------------------------------ [2009-10-15 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-10-07 18:31:10] sjo...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-10-07 18:29:40] sjo...@php.net I tested using the HTTP trace Robert Ripley sent. I discovered some things: Libxml uses the PHP stream wrappers to load the WSDL. These stream wrappers return a malformed WSDL to libxml. This is not specific to SOAP. Running file_get_contents($wsdl) also returns a malformed WSDL. It is reproducible with PHP 5.3 but not with PHP 5.3-HEAD. This suggests that this bug has already been fixed. ------------------------------------------------------------------------ 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/48216 -- Edit this bug report at http://bugs.php.net/?id=48216&edit=1