var Geocode=function() {
Geocode.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Geocode.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Geocode._staticInstance.get_path();},
ReverseGeocode:function(northing,easting,succeededCallback, failedCallback, userContext) {
/// <param name="northing" type="Number">System.Decimal</param>
/// <param name="easting" type="Number">System.Decimal</param>
/// <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(), 'ReverseGeocode',false,{northing:northing,easting:easting},succeededCallback,failedCallback,userContext); }}
Geocode.registerClass('Geocode',Sys.Net.WebServiceProxy);
Geocode._staticInstance = new Geocode();
Geocode.set_path = function(value) {
Geocode._staticInstance.set_path(value); }
Geocode.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Geocode._staticInstance.get_path();}
Geocode.set_timeout = function(value) {
Geocode._staticInstance.set_timeout(value); }
Geocode.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Geocode._staticInstance.get_timeout(); }
Geocode.set_defaultUserContext = function(value) { 
Geocode._staticInstance.set_defaultUserContext(value); }
Geocode.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Geocode._staticInstance.get_defaultUserContext(); }
Geocode.set_defaultSucceededCallback = function(value) { 
 Geocode._staticInstance.set_defaultSucceededCallback(value); }
Geocode.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Geocode._staticInstance.get_defaultSucceededCallback(); }
Geocode.set_defaultFailedCallback = function(value) { 
Geocode._staticInstance.set_defaultFailedCallback(value); }
Geocode.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Geocode._staticInstance.get_defaultFailedCallback(); }
Geocode.set_path("/viskort/Services/Geocode.asmx");
Geocode.ReverseGeocode= function(northing,easting,onSuccess,onFailed,userContext) {
/// <param name="northing" type="Number">System.Decimal</param>
/// <param name="easting" type="Number">System.Decimal</param>
/// <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>
Geocode._staticInstance.ReverseGeocode(northing,easting,onSuccess,onFailed,userContext); }

