Type.registerNamespace('Opplysningen.Rio.Web.AjaxServices');
Opplysningen.Rio.Web.AjaxServices.POIProxy=function() {
Opplysningen.Rio.Web.AjaxServices.POIProxy.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Opplysningen.Rio.Web.AjaxServices.POIProxy.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_path();},
getPOI:function(cat,minX,minY,maxX,maxY,succeededCallback, failedCallback, userContext) {
/// <param name="cat" type="String">System.String</param>
/// <param name="minX" type="Number">System.Double</param>
/// <param name="minY" type="Number">System.Double</param>
/// <param name="maxX" type="Number">System.Double</param>
/// <param name="maxY" type="Number">System.Double</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(), 'getPOI',false,{cat:cat,minX:minX,minY:minY,maxX:maxX,maxY:maxY},succeededCallback,failedCallback,userContext); },
testPOI: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(), 'testPOI',false,{},succeededCallback,failedCallback,userContext); },
searchPOI:function(query,succeededCallback, failedCallback, userContext) {
/// <param name="query" type="String">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(), 'searchPOI',false,{query:query},succeededCallback,failedCallback,userContext); },
searchLoype:function(query,succeededCallback, failedCallback, userContext) {
/// <param name="query" type="String">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(), 'searchLoype',false,{query:query},succeededCallback,failedCallback,userContext); }}
Opplysningen.Rio.Web.AjaxServices.POIProxy.registerClass('Opplysningen.Rio.Web.AjaxServices.POIProxy',Sys.Net.WebServiceProxy);
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance = new Opplysningen.Rio.Web.AjaxServices.POIProxy();
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_path = function(value) {
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.set_path(value); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_path();}
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_timeout = function(value) {
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.set_timeout(value); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_timeout(); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_defaultUserContext = function(value) { 
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.set_defaultUserContext(value); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_defaultUserContext(); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_defaultSucceededCallback = function(value) { 
 Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.set_defaultSucceededCallback(value); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_defaultSucceededCallback(); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_defaultFailedCallback = function(value) { 
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.set_defaultFailedCallback(value); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.get_defaultFailedCallback(); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.set_path("/turkart_loeypekart/AjaxServices/POIProxy.asmx");
Opplysningen.Rio.Web.AjaxServices.POIProxy.getPOI= function(cat,minX,minY,maxX,maxY,onSuccess,onFailed,userContext) {
/// <param name="cat" type="String">System.String</param>
/// <param name="minX" type="Number">System.Double</param>
/// <param name="minY" type="Number">System.Double</param>
/// <param name="maxX" type="Number">System.Double</param>
/// <param name="maxY" type="Number">System.Double</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>
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.getPOI(cat,minX,minY,maxX,maxY,onSuccess,onFailed,userContext); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.testPOI= 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>
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.testPOI(onSuccess,onFailed,userContext); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.searchPOI= function(query,onSuccess,onFailed,userContext) {
/// <param name="query" type="String">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>
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.searchPOI(query,onSuccess,onFailed,userContext); }
Opplysningen.Rio.Web.AjaxServices.POIProxy.searchLoype= function(query,onSuccess,onFailed,userContext) {
/// <param name="query" type="String">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>
Opplysningen.Rio.Web.AjaxServices.POIProxy._staticInstance.searchLoype(query,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Opplysningen.Rio.Web.POIProvider');
if (typeof(Opplysningen.Rio.Web.POIProvider.SinglePOI) === 'undefined') {
Opplysningen.Rio.Web.POIProvider.SinglePOI=gtc("Opplysningen.Rio.Web.POIProvider.SinglePOI");
Opplysningen.Rio.Web.POIProvider.SinglePOI.registerClass('Opplysningen.Rio.Web.POIProvider.SinglePOI');
}

