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