generateProxyCode() failing

From: Date: Tue, 15 Jul 2003 09:03:21 +0000
Subject: generateProxyCode() failing
Groups: php.soap 
Request: Send a blank email to php-soap+get-799@lists.php.net to get a copy of this message
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 ________________________________________________________________________

« previous php.soap (#799) next »