var WS_Customer=function() {
WS_Customer.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_Customer.prototype={
CheckSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'CheckSession',false,{},succeededCallback,failedCallback,userContext); },
CheckMobileVailed:function(Mobile,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'CheckMobileVailed',false,{Mobile:Mobile},succeededCallback,failedCallback,userContext); },
CheckMobileFront3:function(Mobile,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'CheckMobileFront3',false,{Mobile:Mobile},succeededCallback,failedCallback,userContext); },
CheckEmail:function(Email,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'CheckEmail',false,{Email:Email},succeededCallback,failedCallback,userContext); },
ZipcodeChangeByCity:function(cityid,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'ZipcodeChangeByCity',false,{cityid:cityid},succeededCallback,failedCallback,userContext); },
ValidCodeCheck:function(ValidCode,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'ValidCodeCheck',false,{ValidCode:ValidCode},succeededCallback,failedCallback,userContext); },
UserLoginTop:function(str_Username,str_Password,url,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'UserLoginTop',false,{str_Username:str_Username,str_Password:str_Password,url:url},succeededCallback,failedCallback,userContext); },
UserLogin:function(str_Username,str_Password,str_VerPassword,url,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'UserLogin',false,{str_Username:str_Username,str_Password:str_Password,str_VerPassword:str_VerPassword,url:url},succeededCallback,failedCallback,userContext); },
UserLogin1:function(str_Username,str_Password,str_VerPassword,url,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'UserLogin1',false,{str_Username:str_Username,str_Password:str_Password,str_VerPassword:str_VerPassword,url:url},succeededCallback,failedCallback,userContext); },
ChangeEmail:function(str_Username,str_Password,str_Oldemail,str_Newemail,succeededCallback, failedCallback, userContext) {
return this._invoke(WS_Customer.get_path(), 'ChangeEmail',false,{str_Username:str_Username,str_Password:str_Password,str_Oldemail:str_Oldemail,str_Newemail:str_Newemail},succeededCallback,failedCallback,userContext); }}
WS_Customer.registerClass('WS_Customer',Sys.Net.WebServiceProxy);
WS_Customer._staticInstance = new WS_Customer();
WS_Customer.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; WS_Customer._staticInstance._path = value; }
WS_Customer.get_path = function() { return WS_Customer._staticInstance._path; }
WS_Customer.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); }
WS_Customer._staticInstance._timeout = value; }
WS_Customer.get_timeout = function() { 
return WS_Customer._staticInstance._timeout; }
WS_Customer.set_defaultUserContext = function(value) { 
WS_Customer._staticInstance._userContext = value; }
WS_Customer.get_defaultUserContext = function() { 
return WS_Customer._staticInstance._userContext; }
WS_Customer.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; WS_Customer._staticInstance._succeeded = value; }
WS_Customer.get_defaultSucceededCallback = function() { 
return WS_Customer._staticInstance._succeeded; }
WS_Customer.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; WS_Customer._staticInstance._failed = value; }
WS_Customer.get_defaultFailedCallback = function() { 
return WS_Customer._staticInstance._failed; }
WS_Customer.set_path("/WebService/WS_Customer.asmx");
WS_Customer.CheckSession= function(onSuccess,onFailed,userContext) {WS_Customer._staticInstance.CheckSession(onSuccess,onFailed,userContext); }
WS_Customer.CheckMobileVailed= function(Mobile,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.CheckMobileVailed(Mobile,onSuccess,onFailed,userContext); }
WS_Customer.CheckMobileFront3= function(Mobile,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.CheckMobileFront3(Mobile,onSuccess,onFailed,userContext); }
WS_Customer.CheckEmail= function(Email,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.CheckEmail(Email,onSuccess,onFailed,userContext); }
WS_Customer.ZipcodeChangeByCity= function(cityid,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.ZipcodeChangeByCity(cityid,onSuccess,onFailed,userContext); }
WS_Customer.ValidCodeCheck= function(ValidCode,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.ValidCodeCheck(ValidCode,onSuccess,onFailed,userContext); }
WS_Customer.UserLoginTop= function(str_Username,str_Password,url,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.UserLoginTop(str_Username,str_Password,url,onSuccess,onFailed,userContext); }
WS_Customer.UserLogin= function(str_Username,str_Password,str_VerPassword,url,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.UserLogin(str_Username,str_Password,str_VerPassword,url,onSuccess,onFailed,userContext); }
WS_Customer.UserLogin1= function(str_Username,str_Password,str_VerPassword,url,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.UserLogin1(str_Username,str_Password,str_VerPassword,url,onSuccess,onFailed,userContext); }
WS_Customer.ChangeEmail= function(str_Username,str_Password,str_Oldemail,str_Newemail,onSuccess,onFailed,userContext) {WS_Customer._staticInstance.ChangeEmail(str_Username,str_Password,str_Oldemail,str_Newemail,onSuccess,onFailed,userContext); }
