Type.registerNamespace('Credo.Services');
Credo.Services.Decrypt=function() {
Credo.Services.Decrypt.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Credo.Services.Decrypt.prototype={
GetText:function(strCode,bolEmail,succeededCallback, failedCallback, userContext) {
return this._invoke(Credo.Services.Decrypt.get_path(), 'GetText',false,{strCode:strCode,bolEmail:bolEmail},succeededCallback,failedCallback,userContext); },
GetAll:function(ajaxText,iCount,succeededCallback, failedCallback, userContext) {
return this._invoke(Credo.Services.Decrypt.get_path(), 'GetAll',false,{ajaxText:ajaxText,iCount:iCount},succeededCallback,failedCallback,userContext); }}
Credo.Services.Decrypt.registerClass('Credo.Services.Decrypt',Sys.Net.WebServiceProxy);
Credo.Services.Decrypt._staticInstance = new Credo.Services.Decrypt();
Credo.Services.Decrypt.set_path = function(value) { Credo.Services.Decrypt._staticInstance._path = value; }
Credo.Services.Decrypt.get_path = function() { return Credo.Services.Decrypt._staticInstance._path; }
Credo.Services.Decrypt.set_timeout = function(value) { Credo.Services.Decrypt._staticInstance._timeout = value; }
Credo.Services.Decrypt.get_timeout = function() { return Credo.Services.Decrypt._staticInstance._timeout; }
Credo.Services.Decrypt.set_defaultUserContext = function(value) { Credo.Services.Decrypt._staticInstance._userContext = value; }
Credo.Services.Decrypt.get_defaultUserContext = function() { return Credo.Services.Decrypt._staticInstance._userContext; }
Credo.Services.Decrypt.set_defaultSucceededCallback = function(value) { Credo.Services.Decrypt._staticInstance._succeeded = value; }
Credo.Services.Decrypt.get_defaultSucceededCallback = function() { return Credo.Services.Decrypt._staticInstance._succeeded; }
Credo.Services.Decrypt.set_defaultFailedCallback = function(value) { Credo.Services.Decrypt._staticInstance._failed = value; }
Credo.Services.Decrypt.get_defaultFailedCallback = function() { return Credo.Services.Decrypt._staticInstance._failed; }
Credo.Services.Decrypt.set_path("/App_Services/tools/decrypt.asmx");
Credo.Services.Decrypt.GetText= function(strCode,bolEmail,onSuccess,onFailed,userContext) {Credo.Services.Decrypt._staticInstance.GetText(strCode,bolEmail,onSuccess,onFailed,userContext); }
Credo.Services.Decrypt.GetAll= function(ajaxText,iCount,onSuccess,onFailed,userContext) {Credo.Services.Decrypt._staticInstance.GetAll(ajaxText,iCount,onSuccess,onFailed,userContext); }
