var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebService._staticInstance.get_path();},
EnableFeed:function(strUsername,strFeedID,strEnable,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EnableFeed',false,{strUsername:strUsername,strFeedID:strFeedID,strEnable:strEnable},succeededCallback,failedCallback,userContext); },
Logout:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Logout',false,{},succeededCallback,failedCallback,userContext); },
UpdateFeedData:function(strUsername,strFeedID,strFeedName,strFeedURL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateFeedData',false,{strUsername:strUsername,strFeedID:strFeedID,strFeedName:strFeedName,strFeedURL:strFeedURL},succeededCallback,failedCallback,userContext); },
DeleteFeed:function(strUsername,strFeedID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFeed',false,{strUsername:strUsername,strFeedID:strFeedID},succeededCallback,failedCallback,userContext); },
AddFeed:function(strUsername,strFeedName,strFeedURL,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFeed',false,{strUsername:strUsername,strFeedName:strFeedName,strFeedURL:strFeedURL},succeededCallback,failedCallback,userContext); },
PopulateFeeds:function(lUserID,strStartIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateFeeds',false,{lUserID:lUserID,strStartIndex:strStartIndex},succeededCallback,failedCallback,userContext); },
PopulateFeedItems:function(lFeedID,strStartIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateFeedItems',false,{lFeedID:lFeedID,strStartIndex:strStartIndex},succeededCallback,failedCallback,userContext); },
PopulateFeedItemsByFeedID:function(lFeedID,strStartIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateFeedItemsByFeedID',false,{lFeedID:lFeedID,strStartIndex:strStartIndex},succeededCallback,failedCallback,userContext); },
PopulateFeedData:function(strUserID,strFeedID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateFeedData',false,{strUserID:strUserID,strFeedID:strFeedID},succeededCallback,failedCallback,userContext); },
PopulateUserlists:function(strStartIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PopulateUserlists',false,{strStartIndex:strStartIndex},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) { WebService._staticInstance.set_path(value); }
WebService.get_path = function() { return WebService._staticInstance.get_path(); }
WebService.set_timeout = function(value) { WebService._staticInstance.set_timeout(value); }
WebService.get_timeout = function() { return WebService._staticInstance.get_timeout(); }
WebService.set_defaultUserContext = function(value) { WebService._staticInstance.set_defaultUserContext(value); }
WebService.get_defaultUserContext = function() { return WebService._staticInstance.get_defaultUserContext(); }
WebService.set_defaultSucceededCallback = function(value) { WebService._staticInstance.set_defaultSucceededCallback(value); }
WebService.get_defaultSucceededCallback = function() { return WebService._staticInstance.get_defaultSucceededCallback(); }
WebService.set_defaultFailedCallback = function(value) { WebService._staticInstance.set_defaultFailedCallback(value); }
WebService.get_defaultFailedCallback = function() { return WebService._staticInstance.get_defaultFailedCallback(); }
WebService.set_path("/site6/WebService.asmx");
WebService.EnableFeed= function(strUsername,strFeedID,strEnable,onSuccess,onFailed,userContext) {WebService._staticInstance.EnableFeed(strUsername,strFeedID,strEnable,onSuccess,onFailed,userContext); }
WebService.Logout= function(onSuccess,onFailed,userContext) {WebService._staticInstance.Logout(onSuccess,onFailed,userContext); }
WebService.UpdateFeedData= function(strUsername,strFeedID,strFeedName,strFeedURL,onSuccess,onFailed,userContext) {WebService._staticInstance.UpdateFeedData(strUsername,strFeedID,strFeedName,strFeedURL,onSuccess,onFailed,userContext); }
WebService.DeleteFeed= function(strUsername,strFeedID,onSuccess,onFailed,userContext) {WebService._staticInstance.DeleteFeed(strUsername,strFeedID,onSuccess,onFailed,userContext); }
WebService.AddFeed= function(strUsername,strFeedName,strFeedURL,onSuccess,onFailed,userContext) {WebService._staticInstance.AddFeed(strUsername,strFeedName,strFeedURL,onSuccess,onFailed,userContext); }
WebService.PopulateFeeds= function(lUserID,strStartIndex,onSuccess,onFailed,userContext) {WebService._staticInstance.PopulateFeeds(lUserID,strStartIndex,onSuccess,onFailed,userContext); }
WebService.PopulateFeedItems= function(lFeedID,strStartIndex,onSuccess,onFailed,userContext) {WebService._staticInstance.PopulateFeedItems(lFeedID,strStartIndex,onSuccess,onFailed,userContext); }
WebService.PopulateFeedItemsByFeedID= function(lFeedID,strStartIndex,onSuccess,onFailed,userContext) {WebService._staticInstance.PopulateFeedItemsByFeedID(lFeedID,strStartIndex,onSuccess,onFailed,userContext); }
WebService.PopulateFeedData= function(strUserID,strFeedID,onSuccess,onFailed,userContext) {WebService._staticInstance.PopulateFeedData(strUserID,strFeedID,onSuccess,onFailed,userContext); }
WebService.PopulateUserlists= function(strStartIndex,onSuccess,onFailed,userContext) {WebService._staticInstance.PopulateUserlists(strStartIndex,onSuccess,onFailed,userContext); }
