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