SOAP_Client($path, 0); } function &GetWeather($CityName, $CountryName) { $GetWeather =& new SOAP_Value('{http://www.webserviceX.NET}GetWeather', false, $v = array('CityName' => $CityName, 'CountryName' => $CountryName)); $result = $this->call('GetWeather', $v = array('GetWeather' => $GetWeather), array('namespace' => 'http://www.webserviceX.NET', 'soapaction' => 'http://www.webserviceX.NET/GetWeather', 'style' => 'document', 'use' => 'literal')); return $result; } function &GetCitiesByCountry($CountryName) { $GetCitiesByCountry =& new SOAP_Value('{http://www.webserviceX.NET}GetCitiesByCountry', false, $v = array('CountryName' => $CountryName)); $result = $this->call('GetCitiesByCountry', $v = array('GetCitiesByCountry' => $GetCitiesByCountry), array('namespace' => 'http://www.webserviceX.NET', 'soapaction' => 'http://www.webserviceX.NET/GetCitiesByCountry', 'style' => 'document', 'use' => 'literal')); return $result; } } ?>