Re: [SOAP] Re: help - can't create simple WSDL client
| From: | Alexander Czernay | Date: | Thu, 24 Jul 2003 13:04:03 +0000 |
| Subject: | Re: [SOAP] Re: help - can't create simple WSDL client | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-878@lists.php.net to get a copy of this message | ||
Arnaud Limbourg wrote:
Just FYI 0.7.5 has been oficially released as of today ;) Arnaud.I also have the sam problem. I'm using SOAP-0.7.5 on PHP 4.3.1. Always getting these errors: [Thu Jul 24 14:59:10 2003] [error] PHP Warning: reset() [<a href='http://www.php.net/function.reset'>function.reset</a>]: Passed variable is not an array or object in /usr/share/php/SOAP/WSDL.php on line 405 [Thu Jul 24 14:59:10 2003] [error] PHP Warning: current() [<a href='http://www.php.net/function.current'>function.current</a>]: Passed variable is not an array or object in /usr/share/php/SOAP/WSDL.php on line 406 Also my old SOAP client, I programmed using an older version of PEAR:SOAP, doesn't work anymore. It stops when I call $ret = $soapclient->call("GetProducts",$params = array(),$options); Any ideas? AlexanderMaybe 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 Arnaud,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