[TYPO3-dev] SOAP error while uploading an updated extension : Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typo3.org/wsdl/tx_ter_wsdl.php' in /var/www/typo3/typo3_src-4.1/typo3/mod/tools/em/class.em_soap.php on line 109
Stefan Geith
typo3dev2008.nospam1 at geithware.de
Fri Sep 11 10:09:59 CEST 2009
Ries van Twisk schrieb:
> I get this error while trying to upload an extension :
>
> Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://typo3.org/wsdl/tx_ter_wsdl.php'
> in /var/www/typo3/typo3_src-4.1/typo3/mod/tools/em/class.em_soap.php
> on line 109
There are some new notes in bugtracker about that:
http://bugs.typo3.org/view.php?id=11802
<snip>
Did you check PHP bugreports regarding SOAP problems in PHP 5.3?
I found 2 possibly related bugs:
http://bugs.php.net/bug.php?id=49397 [^]
http://bugs.php.net/bug.php?id=49226 [^]
in # 499226 I found:
[snip]
I guess that in php 5.3 the soap server expects the content length to be
set in the header inorder to parse the complete wsdl, but the
AutoDiscover class does not send this.
By adding header('Content-Length: '.strlen($this->_wsdl->toXML())); to
the handle function in the AutoDiscover class things are working
[/snip]
And I found a workaround:
I downloaded the file 'http://typo3.org/wsdl/tx_ter_wsdl.php' [^] and
copied it to typo3/mod/tools/em/ and added this line to class.em_soap.php:
$options['wsdl'] = 'tx_ter_wsdl.php.xml';
so the xml-file is loaded locally - and this works ! ...
So can anyone check, if the content length is set - and if not add this ?
Maybe this is the solution ... ?
</snip>
/Stefan
More information about the TYPO3-dev
mailing list