Type.registerNamespace('YIMAI8.com.WebService');
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace=function() {
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetShopByrecommend:function(pagenum,succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'GetShopByrecommend',false,{pagenum:pagenum},succeededCallback,failedCallback,userContext); },
GetShopByTime:function(pagenum,succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'GetShopByTime',false,{pagenum:pagenum},succeededCallback,failedCallback,userContext); },
GetShopByType:function(typeid,pagenum,succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'GetShopByType',false,{typeid:typeid,pagenum:pagenum},succeededCallback,failedCallback,userContext); },
GetMianyunfeiShopByType:function(pagenum,succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'GetMianyunfeiShopByType',false,{pagenum:pagenum},succeededCallback,failedCallback,userContext); },
GetMianTuihuoShopByType:function(pagenum,succeededCallback, failedCallback, userContext) {
return this._invoke(YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path(), 'GetMianTuihuoShopByType',false,{pagenum:pagenum},succeededCallback,failedCallback,userContext); }}
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.registerClass('YIMAI8.com.WebService.Ser_Shop_AjaxInterFace',Sys.Net.WebServiceProxy);
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance = new YIMAI8.com.WebService.Ser_Shop_AjaxInterFace();
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._path = value; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_path = function() { return YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._path; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.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); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._timeout = value; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_timeout = function() { 
return YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._timeout; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.set_defaultUserContext = function(value) { 
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._userContext = value; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_defaultUserContext = function() { 
return YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._userContext; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._succeeded = value; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_defaultSucceededCallback = function() { 
return YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._succeeded; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._failed = value; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.get_defaultFailedCallback = function() { 
return YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance._failed; }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.set_path("/WebService/Ser_Shop_AjaxInterFace.asmx");
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.HelloWorld= function(onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.GetShopByrecommend= function(pagenum,onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.GetShopByrecommend(pagenum,onSuccess,onFailed,userContext); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.GetShopByTime= function(pagenum,onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.GetShopByTime(pagenum,onSuccess,onFailed,userContext); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.GetShopByType= function(typeid,pagenum,onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.GetShopByType(typeid,pagenum,onSuccess,onFailed,userContext); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.GetMianyunfeiShopByType= function(pagenum,onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.GetMianyunfeiShopByType(pagenum,onSuccess,onFailed,userContext); }
YIMAI8.com.WebService.Ser_Shop_AjaxInterFace.GetMianTuihuoShopByType= function(pagenum,onSuccess,onFailed,userContext) {YIMAI8.com.WebService.Ser_Shop_AjaxInterFace._staticInstance.GetMianTuihuoShopByType(pagenum,onSuccess,onFailed,userContext); }

