RE: [SOAP] generateProxyCode() failing

From: Date: Tue, 15 Jul 2003 09:08:34 +0000
Subject: RE: [SOAP] generateProxyCode() failing
Groups: php.soap 
Request: Send a blank email to php-soap+get-800@lists.php.net to get a copy of this message
What SOAP version are you running ? Try http://php.tleilax.org/SOAP-0.7.5.tgz It is a snapshot of the upcoming release, a few people had problems with 0.7.4 which shoul be solved in the next release. Arnaud. > Hi, > > Using a simple script to generate some PHP code using > generateProxyCode() is > now breaking since the recent updates to SOAP. > > I use: > > $wsdl = new SOAP_WSDL($HTTP_GET_VARS['wsdlurl']); > print "<pre>".$wsdl->generateProxyCode()."</pre>"; > > Where the $HTTP_GET_VARS['wsdlurl'] is: > > http://d05-warr/DD01WebServices/DD01WS/SchedulerService.asmx?wsdl > > From a .NET server. > > The errors displayed are: > Warning: reset(): Passed variable is not an array or object in > c:\php4\pear\SOAP\WSDL.php on line 377 > > Warning: current(): Passed variable is not an array or object in > c:\php4\pear\SOAP\WSDL.php on line 378 > > They didn't use to appear and the script is too simple to > have changd at > all. I didn't notice anything in the changes docs to give me > a clue as to > why this is now happening. > > Any ideas people? :-( > > -- > Mike Carter > [Senior Web Developer] > Personal Medical Advisor Limited. > > T: 0870 240 7582 // F: 0161 928 2932 > E: mike.carter@personalmedicaladvisor.co.uk > W: www.personalmedicaladvisor.co.uk > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > > -- > PHP Soap Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.soap (#800) next »