Type.registerNamespace('MyAccount.Services');
MyAccount.Services.ValidationService=function() {
MyAccount.Services.ValidationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MyAccount.Services.ValidationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MyAccount.Services.ValidationService._staticInstance.get_path();},
ValidateUserName:function(prefixUserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateUserName',false,{prefixUserName:prefixUserName},succeededCallback,failedCallback,userContext); },
ValidatePassword:function(prefixPassword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidatePassword',false,{prefixPassword:prefixPassword},succeededCallback,failedCallback,userContext); }}
MyAccount.Services.ValidationService.registerClass('MyAccount.Services.ValidationService',Sys.Net.WebServiceProxy);
MyAccount.Services.ValidationService._staticInstance = new MyAccount.Services.ValidationService();
MyAccount.Services.ValidationService.set_path = function(value) { MyAccount.Services.ValidationService._staticInstance.set_path(value); }
MyAccount.Services.ValidationService.get_path = function() { return MyAccount.Services.ValidationService._staticInstance.get_path(); }
MyAccount.Services.ValidationService.set_timeout = function(value) { MyAccount.Services.ValidationService._staticInstance.set_timeout(value); }
MyAccount.Services.ValidationService.get_timeout = function() { return MyAccount.Services.ValidationService._staticInstance.get_timeout(); }
MyAccount.Services.ValidationService.set_defaultUserContext = function(value) { MyAccount.Services.ValidationService._staticInstance.set_defaultUserContext(value); }
MyAccount.Services.ValidationService.get_defaultUserContext = function() { return MyAccount.Services.ValidationService._staticInstance.get_defaultUserContext(); }
MyAccount.Services.ValidationService.set_defaultSucceededCallback = function(value) { MyAccount.Services.ValidationService._staticInstance.set_defaultSucceededCallback(value); }
MyAccount.Services.ValidationService.get_defaultSucceededCallback = function() { return MyAccount.Services.ValidationService._staticInstance.get_defaultSucceededCallback(); }
MyAccount.Services.ValidationService.set_defaultFailedCallback = function(value) { MyAccount.Services.ValidationService._staticInstance.set_defaultFailedCallback(value); }
MyAccount.Services.ValidationService.get_defaultFailedCallback = function() { return MyAccount.Services.ValidationService._staticInstance.get_defaultFailedCallback(); }
MyAccount.Services.ValidationService.set_path("/Services/ValidationService.asmx");
MyAccount.Services.ValidationService.ValidateUserName= function(prefixUserName,onSuccess,onFailed,userContext) {MyAccount.Services.ValidationService._staticInstance.ValidateUserName(prefixUserName,onSuccess,onFailed,userContext); }
MyAccount.Services.ValidationService.ValidatePassword= function(prefixPassword,onSuccess,onFailed,userContext) {MyAccount.Services.ValidationService._staticInstance.ValidatePassword(prefixPassword,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('MyAccount.Code');
if (typeof(MyAccount.Code.ValidationInfo) === 'undefined') {
MyAccount.Code.ValidationInfo=gtc("MyAccount.Code.ValidationInfo");
MyAccount.Code.ValidationInfo.registerClass('MyAccount.Code.ValidationInfo');
}

