Type.registerNamespace('RedwoodWebServices');
RedwoodWebServices.GeoService=function() {
RedwoodWebServices.GeoService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RedwoodWebServices.GeoService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RedwoodWebServices.GeoService._staticInstance.get_path();},
GetSurroundings:function(lat,lng,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSurroundings',true,{lat:lat,lng:lng},succeededCallback,failedCallback,userContext); },
GetUpcomingEvents:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUpcomingEvents',true,{},succeededCallback,failedCallback,userContext); },
GetCountryMarkers:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountryMarkers',true,{},succeededCallback,failedCallback,userContext); }}
RedwoodWebServices.GeoService.registerClass('RedwoodWebServices.GeoService',Sys.Net.WebServiceProxy);
RedwoodWebServices.GeoService._staticInstance = new RedwoodWebServices.GeoService();
RedwoodWebServices.GeoService.set_path = function(value) { RedwoodWebServices.GeoService._staticInstance.set_path(value); }
RedwoodWebServices.GeoService.get_path = function() { return RedwoodWebServices.GeoService._staticInstance.get_path(); }
RedwoodWebServices.GeoService.set_timeout = function(value) { RedwoodWebServices.GeoService._staticInstance.set_timeout(value); }
RedwoodWebServices.GeoService.get_timeout = function() { return RedwoodWebServices.GeoService._staticInstance.get_timeout(); }
RedwoodWebServices.GeoService.set_defaultUserContext = function(value) { RedwoodWebServices.GeoService._staticInstance.set_defaultUserContext(value); }
RedwoodWebServices.GeoService.get_defaultUserContext = function() { return RedwoodWebServices.GeoService._staticInstance.get_defaultUserContext(); }
RedwoodWebServices.GeoService.set_defaultSucceededCallback = function(value) { RedwoodWebServices.GeoService._staticInstance.set_defaultSucceededCallback(value); }
RedwoodWebServices.GeoService.get_defaultSucceededCallback = function() { return RedwoodWebServices.GeoService._staticInstance.get_defaultSucceededCallback(); }
RedwoodWebServices.GeoService.set_defaultFailedCallback = function(value) { RedwoodWebServices.GeoService._staticInstance.set_defaultFailedCallback(value); }
RedwoodWebServices.GeoService.get_defaultFailedCallback = function() { return RedwoodWebServices.GeoService._staticInstance.get_defaultFailedCallback(); }
RedwoodWebServices.GeoService.set_enableJsonp = function(value) { RedwoodWebServices.GeoService._staticInstance.set_enableJsonp(value); }
RedwoodWebServices.GeoService.get_enableJsonp = function() { return RedwoodWebServices.GeoService._staticInstance.get_enableJsonp(); }
RedwoodWebServices.GeoService.set_jsonpCallbackParameter = function(value) { RedwoodWebServices.GeoService._staticInstance.set_jsonpCallbackParameter(value); }
RedwoodWebServices.GeoService.get_jsonpCallbackParameter = function() { return RedwoodWebServices.GeoService._staticInstance.get_jsonpCallbackParameter(); }
RedwoodWebServices.GeoService.set_path("http://www.softwaretestpro.com/WebServices/GeoService.svc");
RedwoodWebServices.GeoService.GetSurroundings= function(lat,lng,onSuccess,onFailed,userContext) {RedwoodWebServices.GeoService._staticInstance.GetSurroundings(lat,lng,onSuccess,onFailed,userContext); }
RedwoodWebServices.GeoService.GetUpcomingEvents= function(onSuccess,onFailed,userContext) {RedwoodWebServices.GeoService._staticInstance.GetUpcomingEvents(onSuccess,onFailed,userContext); }
RedwoodWebServices.GeoService.GetCountryMarkers= function(onSuccess,onFailed,userContext) {RedwoodWebServices.GeoService._staticInstance.GetCountryMarkers(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('RedwoodEngineApplication.Classes.Geography');
if (typeof(RedwoodEngineApplication.Classes.Geography.GoogleLocation) === 'undefined') {
RedwoodEngineApplication.Classes.Geography.GoogleLocation=gtc("GoogleLocation:http://schemas.datacontract.org/2004/07/RedwoodEngineApplication.Classes.Geography");
RedwoodEngineApplication.Classes.Geography.GoogleLocation.registerClass('RedwoodEngineApplication.Classes.Geography.GoogleLocation');
}
Type.registerNamespace('RedwoodEngineApplication.WebServices');
if (typeof(RedwoodEngineApplication.WebServices.GeoService) === "undefined") {
   RedwoodEngineApplication.WebServices.GeoService = {};
}
if (typeof(RedwoodEngineApplication.WebServices.GeoService.CountryResult) === 'undefined') {
RedwoodEngineApplication.WebServices.GeoService.CountryResult=gtc("GeoService.CountryResult:http://schemas.datacontract.org/2004/07/RedwoodEngineApplication.WebServices");
RedwoodEngineApplication.WebServices.GeoService.CountryResult.registerClass('RedwoodEngineApplication.WebServices.GeoService.CountryResult');
}

