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