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