var wsWeather=function() {
wsWeather.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsWeather.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsWeather._staticInstance.get_path();},
GetWeather:function(_CityCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWeather',false,{_CityCode:_CityCode},succeededCallback,failedCallback,userContext); }}
wsWeather.registerClass('wsWeather',Sys.Net.WebServiceProxy);
wsWeather._staticInstance = new wsWeather();
wsWeather.set_path = function(value) { wsWeather._staticInstance.set_path(value); }
wsWeather.get_path = function() { return wsWeather._staticInstance.get_path(); }
wsWeather.set_timeout = function(value) { wsWeather._staticInstance.set_timeout(value); }
wsWeather.get_timeout = function() { return wsWeather._staticInstance.get_timeout(); }
wsWeather.set_defaultUserContext = function(value) { wsWeather._staticInstance.set_defaultUserContext(value); }
wsWeather.get_defaultUserContext = function() { return wsWeather._staticInstance.get_defaultUserContext(); }
wsWeather.set_defaultSucceededCallback = function(value) { wsWeather._staticInstance.set_defaultSucceededCallback(value); }
wsWeather.get_defaultSucceededCallback = function() { return wsWeather._staticInstance.get_defaultSucceededCallback(); }
wsWeather.set_defaultFailedCallback = function(value) { wsWeather._staticInstance.set_defaultFailedCallback(value); }
wsWeather.get_defaultFailedCallback = function() { return wsWeather._staticInstance.get_defaultFailedCallback(); }
wsWeather.set_path("/_ws/wsWeather.asmx");
wsWeather.GetWeather= function(_CityCode,onSuccess,onFailed,userContext) {wsWeather._staticInstance.GetWeather(_CityCode,onSuccess,onFailed,userContext); }
