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