var xLocateService=function() {
xLocateService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
xLocateService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return xLocateService._staticInstance.get_path();},
Search:function(street,postcode,city,country,maxresults,TwoLetterISOLanguageName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Search',false,{street:street,postcode:postcode,city:city,country:country,maxresults:maxresults,TwoLetterISOLanguageName:TwoLetterISOLanguageName},succeededCallback,failedCallback,userContext); },
ReverseSearch:function(xcoord,ycoord,detaillevel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ReverseSearch',false,{xcoord:xcoord,ycoord:ycoord,detaillevel:detaillevel},succeededCallback,failedCallback,userContext); },
Transform:function(xcoord,ycoord,coordformatin,coordformatout,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Transform',false,{xcoord:xcoord,ycoord:ycoord,coordformatin:coordformatin,coordformatout:coordformatout},succeededCallback,failedCallback,userContext); }}
xLocateService.registerClass('xLocateService',Sys.Net.WebServiceProxy);
xLocateService._staticInstance = new xLocateService();
xLocateService.set_path = function(value) { xLocateService._staticInstance.set_path(value); }
xLocateService.get_path = function() { return xLocateService._staticInstance.get_path(); }
xLocateService.set_timeout = function(value) { xLocateService._staticInstance.set_timeout(value); }
xLocateService.get_timeout = function() { return xLocateService._staticInstance.get_timeout(); }
xLocateService.set_defaultUserContext = function(value) { xLocateService._staticInstance.set_defaultUserContext(value); }
xLocateService.get_defaultUserContext = function() { return xLocateService._staticInstance.get_defaultUserContext(); }
xLocateService.set_defaultSucceededCallback = function(value) { xLocateService._staticInstance.set_defaultSucceededCallback(value); }
xLocateService.get_defaultSucceededCallback = function() { return xLocateService._staticInstance.get_defaultSucceededCallback(); }
xLocateService.set_defaultFailedCallback = function(value) { xLocateService._staticInstance.set_defaultFailedCallback(value); }
xLocateService.get_defaultFailedCallback = function() { return xLocateService._staticInstance.get_defaultFailedCallback(); }
xLocateService.set_path("/services/xLocateService.asmx");
xLocateService.Search= function(street,postcode,city,country,maxresults,TwoLetterISOLanguageName,onSuccess,onFailed,userContext) {xLocateService._staticInstance.Search(street,postcode,city,country,maxresults,TwoLetterISOLanguageName,onSuccess,onFailed,userContext); }
xLocateService.ReverseSearch= function(xcoord,ycoord,detaillevel,onSuccess,onFailed,userContext) {xLocateService._staticInstance.ReverseSearch(xcoord,ycoord,detaillevel,onSuccess,onFailed,userContext); }
xLocateService.Transform= function(xcoord,ycoord,coordformatin,coordformatout,onSuccess,onFailed,userContext) {xLocateService._staticInstance.Transform(xcoord,ycoord,coordformatin,coordformatout,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Locatienet.element');
if (typeof(Locatienet.element.Object) === 'undefined') {
Locatienet.element.Object=gtc("Locatienet.element.Object");
Locatienet.element.Object.registerClass('Locatienet.element.Object');
}
