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