var UserService=function() {
UserService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UserService.prototype={
ValidateLogin:function(login,succeededCallback, failedCallback, userContext) {
return this._invoke(UserService.get_path(), 'ValidateLogin',false,{login:login},succeededCallback,failedCallback,userContext); }}
UserService.registerClass('UserService',Sys.Net.WebServiceProxy);
UserService._staticInstance = new UserService();
UserService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; UserService._staticInstance._path = value; }
UserService.get_path = function() { return UserService._staticInstance._path; }
UserService.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); }
UserService._staticInstance._timeout = value; }
UserService.get_timeout = function() { 
return UserService._staticInstance._timeout; }
UserService.set_defaultUserContext = function(value) { 
UserService._staticInstance._userContext = value; }
UserService.get_defaultUserContext = function() { 
return UserService._staticInstance._userContext; }
UserService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; UserService._staticInstance._succeeded = value; }
UserService.get_defaultSucceededCallback = function() { 
return UserService._staticInstance._succeeded; }
UserService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; UserService._staticInstance._failed = value; }
UserService.get_defaultFailedCallback = function() { 
return UserService._staticInstance._failed; }
UserService.set_path("/Services/UserService.asmx");
UserService.ValidateLogin= function(login,onSuccess,onFailed,userContext) {UserService._staticInstance.ValidateLogin(login,onSuccess,onFailed,userContext); }
