[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
Ries van Twisk
typo3 at rvt.dds.nl
Fri Sep 11 10:39:30 CEST 2009
For me using 4.2 solved the problem,
but I didn't take a close look at the problem it self.
May be report can take a look at it?? But then again,
seems like not to much people have problems anyways....
Ries
On Sep 11, 2009, at 3:09 AM, Stefan Geith wrote:
> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
regards, Ries van Twisk
- Join us on #TYPO3 on freenode | irc://chat.freenode.net/#typo3
-------------------------------------------------------------------------------------------------
tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS
WebORB PostgreSQL DB-Architect
email: ries at vantwisk.nl web: http://www.rvantwisk.nl/
skype: callto://r.vantwisk
More information about the TYPO3-dev
mailing list