Type.registerNamespace('ProfileMine.WebServices');
ProfileMine.WebServices.LoginHandler=function() {
ProfileMine.WebServices.LoginHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProfileMine.WebServices.LoginHandler.prototype={
Login:function(userName,password,persistent,succeededCallback, failedCallback, userContext) {
return this._invoke(ProfileMine.WebServices.LoginHandler.get_path(), 'Login',false,{userName:userName,password:password,persistent:persistent},succeededCallback,failedCallback,userContext); },
Logout:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ProfileMine.WebServices.LoginHandler.get_path(), 'Logout',false,{},succeededCallback,failedCallback,userContext); }}
ProfileMine.WebServices.LoginHandler.registerClass('ProfileMine.WebServices.LoginHandler',Sys.Net.WebServiceProxy);
ProfileMine.WebServices.LoginHandler._staticInstance = new ProfileMine.WebServices.LoginHandler();
ProfileMine.WebServices.LoginHandler.set_path = function(value) { ProfileMine.WebServices.LoginHandler._staticInstance._path = value; }
ProfileMine.WebServices.LoginHandler.get_path = function() { return ProfileMine.WebServices.LoginHandler._staticInstance._path; }
ProfileMine.WebServices.LoginHandler.set_timeout = function(value) { ProfileMine.WebServices.LoginHandler._staticInstance._timeout = value; }
ProfileMine.WebServices.LoginHandler.get_timeout = function() { return ProfileMine.WebServices.LoginHandler._staticInstance._timeout; }
ProfileMine.WebServices.LoginHandler.set_defaultUserContext = function(value) { ProfileMine.WebServices.LoginHandler._staticInstance._userContext = value; }
ProfileMine.WebServices.LoginHandler.get_defaultUserContext = function() { return ProfileMine.WebServices.LoginHandler._staticInstance._userContext; }
ProfileMine.WebServices.LoginHandler.set_defaultSucceededCallback = function(value) { ProfileMine.WebServices.LoginHandler._staticInstance._succeeded = value; }
ProfileMine.WebServices.LoginHandler.get_defaultSucceededCallback = function() { return ProfileMine.WebServices.LoginHandler._staticInstance._succeeded; }
ProfileMine.WebServices.LoginHandler.set_defaultFailedCallback = function(value) { ProfileMine.WebServices.LoginHandler._staticInstance._failed = value; }
ProfileMine.WebServices.LoginHandler.get_defaultFailedCallback = function() { return ProfileMine.WebServices.LoginHandler._staticInstance._failed; }
ProfileMine.WebServices.LoginHandler.set_path("/LoginHandler.asmx");
ProfileMine.WebServices.LoginHandler.Login= function(userName,password,persistent,onSuccess,onFailed,userContext) {ProfileMine.WebServices.LoginHandler._staticInstance.Login(userName,password,persistent,onSuccess,onFailed,userContext); }
ProfileMine.WebServices.LoginHandler.Logout= function(onSuccess,onFailed,userContext) {ProfileMine.WebServices.LoginHandler._staticInstance.Logout(onSuccess,onFailed,userContext); }
