var GeocodeService=function() {
GeocodeService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeocodeService.prototype={
Geocode:function(street,zip,city,state,country,succeededCallback, failedCallback, userContext) {
return this._invoke(GeocodeService.get_path(), 'Geocode',false,{street:street,zip:zip,city:city,state:state,country:country},succeededCallback,failedCallback,userContext); }}
GeocodeService.registerClass('GeocodeService',Sys.Net.WebServiceProxy);
GeocodeService._staticInstance = new GeocodeService();
GeocodeService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GeocodeService._staticInstance._path = value; }
GeocodeService.get_path = function() { return GeocodeService._staticInstance._path; }
GeocodeService.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); }
GeocodeService._staticInstance._timeout = value; }
GeocodeService.get_timeout = function() { 
return GeocodeService._staticInstance._timeout; }
GeocodeService.set_defaultUserContext = function(value) { 
GeocodeService._staticInstance._userContext = value; }
GeocodeService.get_defaultUserContext = function() { 
return GeocodeService._staticInstance._userContext; }
GeocodeService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GeocodeService._staticInstance._succeeded = value; }
GeocodeService.get_defaultSucceededCallback = function() { 
return GeocodeService._staticInstance._succeeded; }
GeocodeService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GeocodeService._staticInstance._failed = value; }
GeocodeService.get_defaultFailedCallback = function() { 
return GeocodeService._staticInstance._failed; }
GeocodeService.set_path("/GeocodeService.asmx");
GeocodeService.Geocode= function(street,zip,city,state,country,onSuccess,onFailed,userContext) {GeocodeService._staticInstance.Geocode(street,zip,city,state,country,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Location) === 'undefined') {
var Location=gtc("Location");
Location.registerClass('Location');
}
