[TYPO3] nuSOAP problem with 'eim2amazonsearch' and the new EM of typo3 4.0

Franz Koch typo3 at fx-graefix.de
Tue Apr 18 14:41:23 CEST 2006

Hi list,

as you might guess I have a little problem I can't solve.

The new EM of typo3 4.0 uses nuSOAP (included from the EM-mod folder itself - not a service) to connect to the TER. The extension 'eim2amazonsearch' also uses nuSOAP, but requires the extension 'eim2nusoap'.

The problem is obvious - as the class nusoap_base will get declared several times which leads to an error. Removing the dependency and the 'require' statement of the extension-class from 'eim2amazonsearch' solves this 'problem'. But still the extension is not running.

I get the errormessage:
Warning: SoapClient::__construct() expects parameter 2 to be array, boolean given in E:\xampp\htdocs\papst\typo3conf\ext\eim2amazonsearch\classes\class.amazonsearch.php on line 49

Having a look at line 49 '$this->Client = new soapclient($this->wsdl, true);' the error message might sound true, as the second parameter is boolean. But by having a look at the constructor of the class 'soapclient' the second parameter is supposed to be boolean, which it is.

class soapclient extends nusoap_base  {
# some vars
# ...
	function soapclient($endpoint,$wsdl = false,$proxyhost = false,...){

any idea what could be wrong there? Is this php5 related, or typo3 4.0?
There are also some other error-messages, but they might be related to the failed constructor.

Anybody got 'eim2amazonsearch' working on typo3 4.0 and php5?
Kind regards,
Franz Koch

More information about the TYPO3-english mailing list