Type.registerNamespace('iGen.WebServices');
iGen.WebServices.schools=function() {
iGen.WebServices.schools.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iGen.WebServices.schools.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return iGen.WebServices.schools._staticInstance.get_path();},
CheckCity:function(strCity,state,metroCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckCity',false,{strCity:strCity,state:state,metroCode:metroCode},succeededCallback,failedCallback,userContext); },
GetSchoolsInfo_byAddress:function(strStreetAddress,strCity,strState,metroCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSchoolsInfo_byAddress',false,{strStreetAddress:strStreetAddress,strCity:strCity,strState:strState,metroCode:metroCode},succeededCallback,failedCallback,userContext); },
GetSchoolsInfo_byDistrict:function(dist_code,schType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSchoolsInfo_byDistrict',false,{dist_code:dist_code,schType:schType},succeededCallback,failedCallback,userContext); },
GetSchoolsInfo_byCity:function(cityList,schType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSchoolsInfo_byCity',false,{cityList:cityList,schType:schType},succeededCallback,failedCallback,userContext); },
GetDistrict:function(countyCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDistrict',false,{countyCode:countyCode},succeededCallback,failedCallback,userContext); },
GetElementaryHighSchoolDistrictsByCities:function(cityCodes,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetElementaryHighSchoolDistrictsByCities',false,{cityCodes:cityCodes},succeededCallback,failedCallback,userContext); },
homesNearby_click:function(cdsCode,sch_type,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'homesNearby_click',false,{cdsCode:cdsCode,sch_type:sch_type},succeededCallback,failedCallback,userContext); }}
iGen.WebServices.schools.registerClass('iGen.WebServices.schools',Sys.Net.WebServiceProxy);
iGen.WebServices.schools._staticInstance = new iGen.WebServices.schools();
iGen.WebServices.schools.set_path = function(value) { iGen.WebServices.schools._staticInstance.set_path(value); }
iGen.WebServices.schools.get_path = function() { return iGen.WebServices.schools._staticInstance.get_path(); }
iGen.WebServices.schools.set_timeout = function(value) { iGen.WebServices.schools._staticInstance.set_timeout(value); }
iGen.WebServices.schools.get_timeout = function() { return iGen.WebServices.schools._staticInstance.get_timeout(); }
iGen.WebServices.schools.set_defaultUserContext = function(value) { iGen.WebServices.schools._staticInstance.set_defaultUserContext(value); }
iGen.WebServices.schools.get_defaultUserContext = function() { return iGen.WebServices.schools._staticInstance.get_defaultUserContext(); }
iGen.WebServices.schools.set_defaultSucceededCallback = function(value) { iGen.WebServices.schools._staticInstance.set_defaultSucceededCallback(value); }
iGen.WebServices.schools.get_defaultSucceededCallback = function() { return iGen.WebServices.schools._staticInstance.get_defaultSucceededCallback(); }
iGen.WebServices.schools.set_defaultFailedCallback = function(value) { iGen.WebServices.schools._staticInstance.set_defaultFailedCallback(value); }
iGen.WebServices.schools.get_defaultFailedCallback = function() { return iGen.WebServices.schools._staticInstance.get_defaultFailedCallback(); }
iGen.WebServices.schools.set_path("/WebServices/schools.asmx");
iGen.WebServices.schools.CheckCity= function(strCity,state,metroCode,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.CheckCity(strCity,state,metroCode,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.GetSchoolsInfo_byAddress= function(strStreetAddress,strCity,strState,metroCode,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.GetSchoolsInfo_byAddress(strStreetAddress,strCity,strState,metroCode,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.GetSchoolsInfo_byDistrict= function(dist_code,schType,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.GetSchoolsInfo_byDistrict(dist_code,schType,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.GetSchoolsInfo_byCity= function(cityList,schType,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.GetSchoolsInfo_byCity(cityList,schType,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.GetDistrict= function(countyCode,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.GetDistrict(countyCode,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.GetElementaryHighSchoolDistrictsByCities= function(cityCodes,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.GetElementaryHighSchoolDistrictsByCities(cityCodes,onSuccess,onFailed,userContext); }
iGen.WebServices.schools.homesNearby_click= function(cdsCode,sch_type,onSuccess,onFailed,userContext) {iGen.WebServices.schools._staticInstance.homesNearby_click(cdsCode,sch_type,onSuccess,onFailed,userContext); }
