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