Re: [SOAP] Re: help - can't create simple WSDL client

From: Date: Mon, 21 Jul 2003 17:40:30 +0000
Subject: Re: [SOAP] Re: help - can't create simple WSDL client
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-867@lists.php.net to get a copy of this message
Just FYI 0.7.5 has been oficially released as of today ;) Arnaud. > Maybe you should give SOAP 0.7.5 upcoming release a try, the mentioned > error should be fixed. They've been discussed a few days ago, and Arnaud > Limbourg has provided a patch: > > It can be downloaded from > http://php.tleilax.org/SOAP-0.7.5.tgz > > you can also run > #pear upgrade http://php.tleilax.org/SOAP-0.7.5.tgz > > Good speed! :) > > Abdul-Wahid Paterson schrieb: > > > Hi, > > > > I have been trying to create a simple client without much luck. I found > > the following page with an example and tried to follow it: > > > > > > http://www.phppatterns.com/index.php/article/articleview/39/1/2/ > > > > When I take their first example on their site: > > > > > > <?php > > require_once('SOAP/Client.php'); > > $wsdl=new SOAP_WSDL( > > > > 'http://wavendon.dsdata.co.uk/axis/services/CarRentalQuotes?wsdl'); > > > > // Look at the generated code... > > echo ( $wsdl->generateProxyCode() ); > > ?> > > > > I get: > > > > Warning: reset(): Passed variable is not an array or object in > > /usr/lib/php/SOAP/WSDL.php on line 377 > > > > Warning: current(): Passed variable is not an array or object in > > /usr/lib/php/SOAP/WSDL.php on line 378 > > > > I seem to get similar errors for all WSDL I try to access. > > > > I am using > > > > HTTP_Request-1.1.1 > > Net_URL-1.0.10 > > SOAP-0.7.4 > > php-4.3.2 > > > > > > Any help or hints would be appreciated. > > > > Regards, > > > > > > -- > E-Mail: Søren Fuhrmann <soeren.fuhrmann@web.de> > PGP-FP: 8A94 76C3 D5A2 CB28 A705 C694 7F6B 44D8 78F2 3F1C > > > -- > PHP Soap Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.soap (#867) next »