Type.registerNamespace('CheckBookPriceNS');
CheckBookPriceNS.MyAuthenticationService=function() {
CheckBookPriceNS.MyAuthenticationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CheckBookPriceNS.MyAuthenticationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_path();},
CheckRegistration:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="CheckBookPriceNS.CheckRegistrationRequest">CheckBookPriceNS.CheckRegistrationRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'CheckRegistration',false,{request:request},succeededCallback,failedCallback,userContext); },
RegisterUser:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="CheckBookPriceNS.RegistrationRequest">CheckBookPriceNS.RegistrationRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RegisterUser',false,{request:request},succeededCallback,failedCallback,userContext); },
VerifyUserLogin:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="CheckBookPriceNS.SaltRequest">CheckBookPriceNS.SaltRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'VerifyUserLogin',false,{request:request},succeededCallback,failedCallback,userContext); },
Login:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="CheckBookPriceNS.LoginRequest">CheckBookPriceNS.LoginRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Login',false,{request:request},succeededCallback,failedCallback,userContext); },
Logout:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Logout',false,{},succeededCallback,failedCallback,userContext); }}
CheckBookPriceNS.MyAuthenticationService.registerClass('CheckBookPriceNS.MyAuthenticationService',Sys.Net.WebServiceProxy);
CheckBookPriceNS.MyAuthenticationService._staticInstance = new CheckBookPriceNS.MyAuthenticationService();
CheckBookPriceNS.MyAuthenticationService.set_path = function(value) {
CheckBookPriceNS.MyAuthenticationService._staticInstance.set_path(value); }
CheckBookPriceNS.MyAuthenticationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_path();}
CheckBookPriceNS.MyAuthenticationService.set_timeout = function(value) {
CheckBookPriceNS.MyAuthenticationService._staticInstance.set_timeout(value); }
CheckBookPriceNS.MyAuthenticationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_timeout(); }
CheckBookPriceNS.MyAuthenticationService.set_defaultUserContext = function(value) { 
CheckBookPriceNS.MyAuthenticationService._staticInstance.set_defaultUserContext(value); }
CheckBookPriceNS.MyAuthenticationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_defaultUserContext(); }
CheckBookPriceNS.MyAuthenticationService.set_defaultSucceededCallback = function(value) { 
 CheckBookPriceNS.MyAuthenticationService._staticInstance.set_defaultSucceededCallback(value); }
CheckBookPriceNS.MyAuthenticationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_defaultSucceededCallback(); }
CheckBookPriceNS.MyAuthenticationService.set_defaultFailedCallback = function(value) { 
CheckBookPriceNS.MyAuthenticationService._staticInstance.set_defaultFailedCallback(value); }
CheckBookPriceNS.MyAuthenticationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_defaultFailedCallback(); }
CheckBookPriceNS.MyAuthenticationService.set_enableJsonp = function(value) { CheckBookPriceNS.MyAuthenticationService._staticInstance.set_enableJsonp(value); }
CheckBookPriceNS.MyAuthenticationService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_enableJsonp(); }
CheckBookPriceNS.MyAuthenticationService.set_jsonpCallbackParameter = function(value) { CheckBookPriceNS.MyAuthenticationService._staticInstance.set_jsonpCallbackParameter(value); }
CheckBookPriceNS.MyAuthenticationService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return CheckBookPriceNS.MyAuthenticationService._staticInstance.get_jsonpCallbackParameter(); }
CheckBookPriceNS.MyAuthenticationService.set_path("/MyAuthenticationService.asmx");
CheckBookPriceNS.MyAuthenticationService.CheckRegistration= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="CheckBookPriceNS.CheckRegistrationRequest">CheckBookPriceNS.CheckRegistrationRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CheckBookPriceNS.MyAuthenticationService._staticInstance.CheckRegistration(request,onSuccess,onFailed,userContext); }
CheckBookPriceNS.MyAuthenticationService.RegisterUser= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="CheckBookPriceNS.RegistrationRequest">CheckBookPriceNS.RegistrationRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CheckBookPriceNS.MyAuthenticationService._staticInstance.RegisterUser(request,onSuccess,onFailed,userContext); }
CheckBookPriceNS.MyAuthenticationService.VerifyUserLogin= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="CheckBookPriceNS.SaltRequest">CheckBookPriceNS.SaltRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CheckBookPriceNS.MyAuthenticationService._staticInstance.VerifyUserLogin(request,onSuccess,onFailed,userContext); }
CheckBookPriceNS.MyAuthenticationService.Login= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="CheckBookPriceNS.LoginRequest">CheckBookPriceNS.LoginRequest</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CheckBookPriceNS.MyAuthenticationService._staticInstance.Login(request,onSuccess,onFailed,userContext); }
CheckBookPriceNS.MyAuthenticationService.Logout= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CheckBookPriceNS.MyAuthenticationService._staticInstance.Logout(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(CheckBookPriceNS.CheckRegistrationRequest) === 'undefined') {
CheckBookPriceNS.CheckRegistrationRequest=gtc("CheckBookPriceNS.CheckRegistrationRequest");
CheckBookPriceNS.CheckRegistrationRequest.registerClass('CheckBookPriceNS.CheckRegistrationRequest');
}
if (typeof(CheckBookPriceNS.CheckRegistrationResponse) === 'undefined') {
CheckBookPriceNS.CheckRegistrationResponse=gtc("CheckBookPriceNS.CheckRegistrationResponse");
CheckBookPriceNS.CheckRegistrationResponse.registerClass('CheckBookPriceNS.CheckRegistrationResponse');
}
if (typeof(CheckBookPriceNS.RegistrationRequest) === 'undefined') {
CheckBookPriceNS.RegistrationRequest=gtc("CheckBookPriceNS.RegistrationRequest");
CheckBookPriceNS.RegistrationRequest.registerClass('CheckBookPriceNS.RegistrationRequest');
}
if (typeof(CheckBookPriceNS.RegistrationResponse) === 'undefined') {
CheckBookPriceNS.RegistrationResponse=gtc("CheckBookPriceNS.RegistrationResponse");
CheckBookPriceNS.RegistrationResponse.registerClass('CheckBookPriceNS.RegistrationResponse');
}
if (typeof(CheckBookPriceNS.SaltRequest) === 'undefined') {
CheckBookPriceNS.SaltRequest=gtc("CheckBookPriceNS.SaltRequest");
CheckBookPriceNS.SaltRequest.registerClass('CheckBookPriceNS.SaltRequest');
}
if (typeof(CheckBookPriceNS.SaltResponse) === 'undefined') {
CheckBookPriceNS.SaltResponse=gtc("CheckBookPriceNS.SaltResponse");
CheckBookPriceNS.SaltResponse.registerClass('CheckBookPriceNS.SaltResponse');
}
if (typeof(CheckBookPriceNS.LoginRequest) === 'undefined') {
CheckBookPriceNS.LoginRequest=gtc("CheckBookPriceNS.LoginRequest");
CheckBookPriceNS.LoginRequest.registerClass('CheckBookPriceNS.LoginRequest');
}
if (typeof(CheckBookPriceNS.LoginResponse) === 'undefined') {
CheckBookPriceNS.LoginResponse=gtc("CheckBookPriceNS.LoginResponse");
CheckBookPriceNS.LoginResponse.registerClass('CheckBookPriceNS.LoginResponse');
}

