$client->SomeFunction vs. $client->__soapCall("SomeFunction" ...)

From: Date: Wed, 14 Nov 2007 17:43:04 +0000
Subject: $client->SomeFunction vs. $client->__soapCall("SomeFunction" ...)
Groups: php.soap 
Request: Send a blank email to php-soap+get-2695@lists.php.net to get a copy of this message
Granted, I am relatively new to SoapClient but my understanding is that: $client->GetWeatherByZipCode( array('ZipCode' => '54601')); $client->__soapCall("GetWeatherByZipCode", array('ZipCode' => '54601')); are equivalent. (I am hitting a weather service: http://www.webservicex.net/WeatherForecast.asmx?wsdl ) However, the first works just fine, while the service chokes on the latter, reporting that the parameter "@zipCode" is not present. Am I wrong in thinking the two requests above are equivalent and, if so, what am I missing? Alo -- Rob Gordon

« previous php.soap (#2695) next »