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); },
GetAddressAndMatrikelKey:function(easting,northing,succeededCallback, failedCallback, userContext) {
/// <param name="easting" type="Number">System.Decimal</param>
/// <param name="northing" 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(), 'GetAddressAndMatrikelKey',false,{easting:easting,northing:northing},succeededCallback,failedCallback,userContext); },
FindAWSAdrAndGeokeysAdr:function(address,postalCode,northing,easting,succeededCallback, failedCallback, userContext) {
/// <param name="address" type="String">System.String</param>
/// <param name="postalCode" type="String">System.String</param>
/// <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(), 'FindAWSAdrAndGeokeysAdr',false,{address:address,postalCode:postalCode,northing:northing,easting:easting},succeededCallback,failedCallback,userContext); },
Getdata:function(mastIDs,succeededCallback, failedCallback, userContext) {
/// <param name="mastIDs" type="Array">System.String[]</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(), 'Getdata',false,{mastIDs:mastIDs},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); }
Geocode.GetAddressAndMatrikelKey= function(easting,northing,onSuccess,onFailed,userContext) {
/// <param name="easting" type="Number">System.Decimal</param>
/// <param name="northing" 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.GetAddressAndMatrikelKey(easting,northing,onSuccess,onFailed,userContext); }
Geocode.FindAWSAdrAndGeokeysAdr= function(address,postalCode,northing,easting,onSuccess,onFailed,userContext) {
/// <param name="address" type="String">System.String</param>
/// <param name="postalCode" type="String">System.String</param>
/// <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.FindAWSAdrAndGeokeysAdr(address,postalCode,northing,easting,onSuccess,onFailed,userContext); }
Geocode.Getdata= function(mastIDs,onSuccess,onFailed,userContext) {
/// <param name="mastIDs" type="Array">System.String[]</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.Getdata(mastIDs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AWSAddress) === 'undefined') {
var AWSAddress=gtc("AWSAddress");
AWSAddress.registerClass('AWSAddress');
}

