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