Type.registerNamespace('YabbedooMembers.ws');
YabbedooMembers.ws.SearchPois=function() {
YabbedooMembers.ws.SearchPois.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
YabbedooMembers.ws.SearchPois.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return YabbedooMembers.ws.SearchPois._staticInstance.get_path();},
GetPoisInTheAreaOf:function(poiId,categoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoisInTheAreaOf',false,{poiId:poiId,categoryId:categoryId},succeededCallback,failedCallback,userContext); },
GetPoiReviews:function(poiId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoiReviews',false,{poiId:poiId},succeededCallback,failedCallback,userContext); },
AddToFavourites:function(poiId,favId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToFavourites',false,{poiId:poiId,favId:favId},succeededCallback,failedCallback,userContext); },
GetPoiInfo:function(poiId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPoiInfo',false,{poiId:poiId},succeededCallback,failedCallback,userContext); }}
YabbedooMembers.ws.SearchPois.registerClass('YabbedooMembers.ws.SearchPois',Sys.Net.WebServiceProxy);
YabbedooMembers.ws.SearchPois._staticInstance = new YabbedooMembers.ws.SearchPois();
YabbedooMembers.ws.SearchPois.set_path = function(value) { YabbedooMembers.ws.SearchPois._staticInstance.set_path(value); }
YabbedooMembers.ws.SearchPois.get_path = function() { return YabbedooMembers.ws.SearchPois._staticInstance.get_path(); }
YabbedooMembers.ws.SearchPois.set_timeout = function(value) { YabbedooMembers.ws.SearchPois._staticInstance.set_timeout(value); }
YabbedooMembers.ws.SearchPois.get_timeout = function() { return YabbedooMembers.ws.SearchPois._staticInstance.get_timeout(); }
YabbedooMembers.ws.SearchPois.set_defaultUserContext = function(value) { YabbedooMembers.ws.SearchPois._staticInstance.set_defaultUserContext(value); }
YabbedooMembers.ws.SearchPois.get_defaultUserContext = function() { return YabbedooMembers.ws.SearchPois._staticInstance.get_defaultUserContext(); }
YabbedooMembers.ws.SearchPois.set_defaultSucceededCallback = function(value) { YabbedooMembers.ws.SearchPois._staticInstance.set_defaultSucceededCallback(value); }
YabbedooMembers.ws.SearchPois.get_defaultSucceededCallback = function() { return YabbedooMembers.ws.SearchPois._staticInstance.get_defaultSucceededCallback(); }
YabbedooMembers.ws.SearchPois.set_defaultFailedCallback = function(value) { YabbedooMembers.ws.SearchPois._staticInstance.set_defaultFailedCallback(value); }
YabbedooMembers.ws.SearchPois.get_defaultFailedCallback = function() { return YabbedooMembers.ws.SearchPois._staticInstance.get_defaultFailedCallback(); }
YabbedooMembers.ws.SearchPois.set_path("/ws/SearchPois.asmx");
YabbedooMembers.ws.SearchPois.GetPoisInTheAreaOf= function(poiId,categoryId,onSuccess,onFailed,userContext) {YabbedooMembers.ws.SearchPois._staticInstance.GetPoisInTheAreaOf(poiId,categoryId,onSuccess,onFailed,userContext); }
YabbedooMembers.ws.SearchPois.GetPoiReviews= function(poiId,onSuccess,onFailed,userContext) {YabbedooMembers.ws.SearchPois._staticInstance.GetPoiReviews(poiId,onSuccess,onFailed,userContext); }
YabbedooMembers.ws.SearchPois.AddToFavourites= function(poiId,favId,onSuccess,onFailed,userContext) {YabbedooMembers.ws.SearchPois._staticInstance.AddToFavourites(poiId,favId,onSuccess,onFailed,userContext); }
YabbedooMembers.ws.SearchPois.GetPoiInfo= function(poiId,onSuccess,onFailed,userContext) {YabbedooMembers.ws.SearchPois._staticInstance.GetPoiInfo(poiId,onSuccess,onFailed,userContext); }

