var WebService=function() {
WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
ShopLogOn:function(pUsername,pPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'ShopLogOn',false,{pUsername:pUsername,pPassword:pPassword},succeededCallback,failedCallback,userContext); },
GetShopURL:function(pShopID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetShopURL',false,{pShopID:pShopID},succeededCallback,failedCallback,userContext); },
GetDownloadData:function(pShopID,pLocations,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetDownloadData',false,{pShopID:pShopID,pLocations:pLocations},succeededCallback,failedCallback,userContext); },
GetPickups:function(pShopID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetPickups',false,{pShopID:pShopID},succeededCallback,failedCallback,userContext); },
MarkDownloaded:function(pItemID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'MarkDownloaded',false,{pItemID:pItemID},succeededCallback,failedCallback,userContext); },
MarkStatusDownloaded:function(pOrderID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'MarkStatusDownloaded',false,{pOrderID:pOrderID},succeededCallback,failedCallback,userContext); },
GetTowns:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetTowns',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetTags:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetTags',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetMessage:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetMessage',false,{name:name},succeededCallback,failedCallback,userContext); },
SetCurrentSlideSession:function(pAlbumID,pFilename,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'SetCurrentSlideSession',false,{pAlbumID:pAlbumID,pFilename:pFilename},succeededCallback,failedCallback,userContext); },
SetDeley:function(milis,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'SetDeley',false,{milis:milis},succeededCallback,failedCallback,userContext); },
PreformDeley:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'PreformDeley',false,{},succeededCallback,failedCallback,userContext); },
GetSubscripts:function(pUserID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetSubscripts',false,{pUserID:pUserID},succeededCallback,failedCallback,userContext); },
DecreaseSub:function(pSubID,Amout,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'DecreaseSub',false,{pSubID:pSubID,Amout:Amout},succeededCallback,failedCallback,userContext); },
GetNextFastDownload:function(shopID,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'GetNextFastDownload',false,{shopID:shopID},succeededCallback,failedCallback,userContext); },
DeleteFastDownloadFile:function(shopID,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(WebService.get_path(), 'DeleteFastDownloadFile',false,{shopID:shopID,fileName:fileName},succeededCallback,failedCallback,userContext); }}
WebService.registerClass('WebService',Sys.Net.WebServiceProxy);
WebService._staticInstance = new WebService();
WebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WebService._staticInstance._path = value; }
WebService.get_path = function() { return WebService._staticInstance._path; }
WebService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
WebService._staticInstance._timeout = value; }
WebService.get_timeout = function() { 
return WebService._staticInstance._timeout; }
WebService.set_defaultUserContext = function(value) { 
WebService._staticInstance._userContext = value; }
WebService.get_defaultUserContext = function() { 
return WebService._staticInstance._userContext; }
WebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WebService._staticInstance._succeeded = value; }
WebService.get_defaultSucceededCallback = function() { 
return WebService._staticInstance._succeeded; }
WebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WebService._staticInstance._failed = value; }
WebService.get_defaultFailedCallback = function() { 
return WebService._staticInstance._failed; }
WebService.set_path("/WebService.asmx");
WebService.HelloWorld= function(onSuccess,onFailed,userContext) {WebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
WebService.ShopLogOn= function(pUsername,pPassword,onSuccess,onFailed,userContext) {WebService._staticInstance.ShopLogOn(pUsername,pPassword,onSuccess,onFailed,userContext); }
WebService.GetShopURL= function(pShopID,onSuccess,onFailed,userContext) {WebService._staticInstance.GetShopURL(pShopID,onSuccess,onFailed,userContext); }
WebService.GetDownloadData= function(pShopID,pLocations,onSuccess,onFailed,userContext) {WebService._staticInstance.GetDownloadData(pShopID,pLocations,onSuccess,onFailed,userContext); }
WebService.GetPickups= function(pShopID,onSuccess,onFailed,userContext) {WebService._staticInstance.GetPickups(pShopID,onSuccess,onFailed,userContext); }
WebService.MarkDownloaded= function(pItemID,onSuccess,onFailed,userContext) {WebService._staticInstance.MarkDownloaded(pItemID,onSuccess,onFailed,userContext); }
WebService.MarkStatusDownloaded= function(pOrderID,onSuccess,onFailed,userContext) {WebService._staticInstance.MarkStatusDownloaded(pOrderID,onSuccess,onFailed,userContext); }
WebService.GetTowns= function(prefixText,count,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTowns(prefixText,count,onSuccess,onFailed,userContext); }
WebService.GetTags= function(prefixText,count,onSuccess,onFailed,userContext) {WebService._staticInstance.GetTags(prefixText,count,onSuccess,onFailed,userContext); }
WebService.GetMessage= function(name,onSuccess,onFailed,userContext) {WebService._staticInstance.GetMessage(name,onSuccess,onFailed,userContext); }
WebService.SetCurrentSlideSession= function(pAlbumID,pFilename,onSuccess,onFailed,userContext) {WebService._staticInstance.SetCurrentSlideSession(pAlbumID,pFilename,onSuccess,onFailed,userContext); }
WebService.SetDeley= function(milis,onSuccess,onFailed,userContext) {WebService._staticInstance.SetDeley(milis,onSuccess,onFailed,userContext); }
WebService.PreformDeley= function(onSuccess,onFailed,userContext) {WebService._staticInstance.PreformDeley(onSuccess,onFailed,userContext); }
WebService.GetSubscripts= function(pUserID,onSuccess,onFailed,userContext) {WebService._staticInstance.GetSubscripts(pUserID,onSuccess,onFailed,userContext); }
WebService.DecreaseSub= function(pSubID,Amout,onSuccess,onFailed,userContext) {WebService._staticInstance.DecreaseSub(pSubID,Amout,onSuccess,onFailed,userContext); }
WebService.GetNextFastDownload= function(shopID,onSuccess,onFailed,userContext) {WebService._staticInstance.GetNextFastDownload(shopID,onSuccess,onFailed,userContext); }
WebService.DeleteFastDownloadFile= function(shopID,fileName,onSuccess,onFailed,userContext) {WebService._staticInstance.DeleteFastDownloadFile(shopID,fileName,onSuccess,onFailed,userContext); }

