var WeatherService=function() {
WeatherService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WeatherService.prototype={
GetWeatherByLocation:function(lat,lng,succeededCallback, failedCallback, userContext) {
return this._invoke(WeatherService.get_path(), 'GetWeatherByLocation',false,{lat:lat,lng:lng},succeededCallback,failedCallback,userContext); }}
WeatherService.registerClass('WeatherService',Sys.Net.WebServiceProxy);
WeatherService._staticInstance = new WeatherService();
WeatherService.set_path = function(value) { WeatherService._staticInstance._path = value; }
WeatherService.get_path = function() { return WeatherService._staticInstance._path; }
WeatherService.set_timeout = function(value) { WeatherService._staticInstance._timeout = value; }
WeatherService.get_timeout = function() { return WeatherService._staticInstance._timeout; }
WeatherService.set_defaultUserContext = function(value) { WeatherService._staticInstance._userContext = value; }
WeatherService.get_defaultUserContext = function() { return WeatherService._staticInstance._userContext; }
WeatherService.set_defaultSucceededCallback = function(value) { WeatherService._staticInstance._succeeded = value; }
WeatherService.get_defaultSucceededCallback = function() { return WeatherService._staticInstance._succeeded; }
WeatherService.set_defaultFailedCallback = function(value) { WeatherService._staticInstance._failed = value; }
WeatherService.get_defaultFailedCallback = function() { return WeatherService._staticInstance._failed; }
WeatherService.set_path("/JuanDoNeblo/VEMashup/WeatherService.asmx");
WeatherService.GetWeatherByLocation= function(lat,lng,onSuccess,onFailed,userContext) {WeatherService._staticInstance.GetWeatherByLocation(lat,lng,onSuccess,onFailed,userContext); }
