var GService=function() {
GService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GService._staticInstance.get_path();},
GetGoogleObject:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetGoogleObject',false,{},succeededCallback,failedCallback,userContext); },
GetOptimizedGoogleObject:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetOptimizedGoogleObject',false,{},succeededCallback,failedCallback,userContext); }}
GService.registerClass('GService',Sys.Net.WebServiceProxy);
GService._staticInstance = new GService();
GService.set_path = function(value) {
GService._staticInstance.set_path(value); }
GService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return GService._staticInstance.get_path();}
GService.set_timeout = function(value) {
GService._staticInstance.set_timeout(value); }
GService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return GService._staticInstance.get_timeout(); }
GService.set_defaultUserContext = function(value) { 
GService._staticInstance.set_defaultUserContext(value); }
GService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return GService._staticInstance.get_defaultUserContext(); }
GService.set_defaultSucceededCallback = function(value) { 
 GService._staticInstance.set_defaultSucceededCallback(value); }
GService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return GService._staticInstance.get_defaultSucceededCallback(); }
GService.set_defaultFailedCallback = function(value) { 
GService._staticInstance.set_defaultFailedCallback(value); }
GService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return GService._staticInstance.get_defaultFailedCallback(); }
GService.set_path("/Locations/GService.asmx");
GService.GetGoogleObject= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.GetGoogleObject(onSuccess,onFailed,userContext); }
GService.GetOptimizedGoogleObject= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
GService._staticInstance.GetOptimizedGoogleObject(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(GoogleObject) === 'undefined') {
var GoogleObject=gtc("GoogleObject");
GoogleObject.registerClass('GoogleObject');
}

