var DynamicContentService=function() {
DynamicContentService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DynamicContentService.prototype={
PopulateWeatherForecast:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(DynamicContentService.get_path(), 'PopulateWeatherForecast',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
PopulateWeatherHistory:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(DynamicContentService.get_path(), 'PopulateWeatherHistory',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
PopulateSimilarSeasons:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(DynamicContentService.get_path(), 'PopulateSimilarSeasons',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
PopulateAccuracy:function(contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(DynamicContentService.get_path(), 'PopulateAccuracy',false,{contextKey:contextKey},succeededCallback,failedCallback,userContext); },
ExportEmail:function(mailAddress,content,type,succeededCallback, failedCallback, userContext) {
return this._invoke(DynamicContentService.get_path(), 'ExportEmail',false,{mailAddress:mailAddress,content:content,type:type},succeededCallback,failedCallback,userContext); }}
DynamicContentService.registerClass('DynamicContentService',Sys.Net.WebServiceProxy);
DynamicContentService._staticInstance = new DynamicContentService();
DynamicContentService.set_path = function(value) { DynamicContentService._staticInstance._path = value; }
DynamicContentService.get_path = function() { return DynamicContentService._staticInstance._path; }
DynamicContentService.set_timeout = function(value) { DynamicContentService._staticInstance._timeout = value; }
DynamicContentService.get_timeout = function() { return DynamicContentService._staticInstance._timeout; }
DynamicContentService.set_defaultUserContext = function(value) { DynamicContentService._staticInstance._userContext = value; }
DynamicContentService.get_defaultUserContext = function() { return DynamicContentService._staticInstance._userContext; }
DynamicContentService.set_defaultSucceededCallback = function(value) { DynamicContentService._staticInstance._succeeded = value; }
DynamicContentService.get_defaultSucceededCallback = function() { return DynamicContentService._staticInstance._succeeded; }
DynamicContentService.set_defaultFailedCallback = function(value) { DynamicContentService._staticInstance._failed = value; }
DynamicContentService.get_defaultFailedCallback = function() { return DynamicContentService._staticInstance._failed; }
DynamicContentService.set_path("/Services/DynamicContentService.asmx");
DynamicContentService.PopulateWeatherForecast= function(contextKey,onSuccess,onFailed,userContext) {DynamicContentService._staticInstance.PopulateWeatherForecast(contextKey,onSuccess,onFailed,userContext); }
DynamicContentService.PopulateWeatherHistory= function(contextKey,onSuccess,onFailed,userContext) {DynamicContentService._staticInstance.PopulateWeatherHistory(contextKey,onSuccess,onFailed,userContext); }
DynamicContentService.PopulateSimilarSeasons= function(contextKey,onSuccess,onFailed,userContext) {DynamicContentService._staticInstance.PopulateSimilarSeasons(contextKey,onSuccess,onFailed,userContext); }
DynamicContentService.PopulateAccuracy= function(contextKey,onSuccess,onFailed,userContext) {DynamicContentService._staticInstance.PopulateAccuracy(contextKey,onSuccess,onFailed,userContext); }
DynamicContentService.ExportEmail= function(mailAddress,content,type,onSuccess,onFailed,userContext) {DynamicContentService._staticInstance.ExportEmail(mailAddress,content,type,onSuccess,onFailed,userContext); }
