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

