Type.registerNamespace('Corgi.Services');
Corgi.Services.FindInstaller=function() {
Corgi.Services.FindInstaller.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Corgi.Services.FindInstaller.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Corgi.Services.FindInstaller._staticInstance.get_path();},
GetLocations:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocations',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetTraders:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTraders',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
CheckTrader:function(nameOrReg,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckTrader',false,{nameOrReg:nameOrReg},succeededCallback,failedCallback,userContext); },
GetSchemeWorkCategories:function(schemedesc,index,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSchemeWorkCategories',false,{schemedesc:schemedesc,index:index},succeededCallback,failedCallback,userContext); }}
Corgi.Services.FindInstaller.registerClass('Corgi.Services.FindInstaller',Sys.Net.WebServiceProxy);
Corgi.Services.FindInstaller._staticInstance = new Corgi.Services.FindInstaller();
Corgi.Services.FindInstaller.set_path = function(value) { Corgi.Services.FindInstaller._staticInstance.set_path(value); }
Corgi.Services.FindInstaller.get_path = function() { return Corgi.Services.FindInstaller._staticInstance.get_path(); }
Corgi.Services.FindInstaller.set_timeout = function(value) { Corgi.Services.FindInstaller._staticInstance.set_timeout(value); }
Corgi.Services.FindInstaller.get_timeout = function() { return Corgi.Services.FindInstaller._staticInstance.get_timeout(); }
Corgi.Services.FindInstaller.set_defaultUserContext = function(value) { Corgi.Services.FindInstaller._staticInstance.set_defaultUserContext(value); }
Corgi.Services.FindInstaller.get_defaultUserContext = function() { return Corgi.Services.FindInstaller._staticInstance.get_defaultUserContext(); }
Corgi.Services.FindInstaller.set_defaultSucceededCallback = function(value) { Corgi.Services.FindInstaller._staticInstance.set_defaultSucceededCallback(value); }
Corgi.Services.FindInstaller.get_defaultSucceededCallback = function() { return Corgi.Services.FindInstaller._staticInstance.get_defaultSucceededCallback(); }
Corgi.Services.FindInstaller.set_defaultFailedCallback = function(value) { Corgi.Services.FindInstaller._staticInstance.set_defaultFailedCallback(value); }
Corgi.Services.FindInstaller.get_defaultFailedCallback = function() { return Corgi.Services.FindInstaller._staticInstance.get_defaultFailedCallback(); }
Corgi.Services.FindInstaller.set_path("/WebServices/FindInstaller.asmx");
Corgi.Services.FindInstaller.GetLocations= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Corgi.Services.FindInstaller._staticInstance.GetLocations(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Corgi.Services.FindInstaller.GetTraders= function(prefixText,count,onSuccess,onFailed,userContext) {Corgi.Services.FindInstaller._staticInstance.GetTraders(prefixText,count,onSuccess,onFailed,userContext); }
Corgi.Services.FindInstaller.CheckTrader= function(nameOrReg,onSuccess,onFailed,userContext) {Corgi.Services.FindInstaller._staticInstance.CheckTrader(nameOrReg,onSuccess,onFailed,userContext); }
Corgi.Services.FindInstaller.GetSchemeWorkCategories= function(schemedesc,index,onSuccess,onFailed,userContext) {Corgi.Services.FindInstaller._staticInstance.GetSchemeWorkCategories(schemedesc,index,onSuccess,onFailed,userContext); }
