SOAP package
| From: | webmaster planetevoyage.com | Date: | Tue, 06 Jan 2004 14:23:24 +0000 |
| Subject: | SOAP package | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9997@lists.php.net to get a copy of this message | ||
Hello,
I have a scrip witch use the nuSoap class. I want to modify this script to use the soap package of pear .
The original script was :
$soapclient = new soapclient("http://live.capescience.com/wsdl/GlobalWeather.wsdl", true);
$proxy = $soapclient->getProxy();
$result = $proxy->getWeatherReport('LYS');
The modifyed script (for pear package using) :
$wsdl = new SOAP_WSDL("http://live.capescience.com/wsdl/GlobalWeather.wsdl");
$soapclient = $wsdl->getProxy();
$query = 'LYS';
$result = $soapclient->call('getWeatherReport',$query);
The modifiyed script doest not return anything : no error, no return value.
Can you help me ?
--
webmaster@planetevoyage.com
http://planetevoyage.com
L'espace voyage d'internet : librairie,carnet de voyage, revue de presse ..