var PropertySearchService=function() {
PropertySearchService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PropertySearchService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PropertySearchService._staticInstance.get_path();},
SearchByQuery:function(query,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchByQuery',false,{query:query},succeededCallback,failedCallback,userContext); },
GetByQuery:function(query,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetByQuery',false,{query:query},succeededCallback,failedCallback,userContext); }}
PropertySearchService.registerClass('PropertySearchService',Sys.Net.WebServiceProxy);
PropertySearchService._staticInstance = new PropertySearchService();
PropertySearchService.set_path = function(value) { PropertySearchService._staticInstance.set_path(value); }
PropertySearchService.get_path = function() { return PropertySearchService._staticInstance.get_path(); }
PropertySearchService.set_timeout = function(value) { PropertySearchService._staticInstance.set_timeout(value); }
PropertySearchService.get_timeout = function() { return PropertySearchService._staticInstance.get_timeout(); }
PropertySearchService.set_defaultUserContext = function(value) { PropertySearchService._staticInstance.set_defaultUserContext(value); }
PropertySearchService.get_defaultUserContext = function() { return PropertySearchService._staticInstance.get_defaultUserContext(); }
PropertySearchService.set_defaultSucceededCallback = function(value) { PropertySearchService._staticInstance.set_defaultSucceededCallback(value); }
PropertySearchService.get_defaultSucceededCallback = function() { return PropertySearchService._staticInstance.get_defaultSucceededCallback(); }
PropertySearchService.set_defaultFailedCallback = function(value) { PropertySearchService._staticInstance.set_defaultFailedCallback(value); }
PropertySearchService.get_defaultFailedCallback = function() { return PropertySearchService._staticInstance.get_defaultFailedCallback(); }
PropertySearchService.set_path("/Library/Services/PropertySearchService.svc");
PropertySearchService.SearchByQuery= function(query,onSuccess,onFailed,userContext) {PropertySearchService._staticInstance.SearchByQuery(query,onSuccess,onFailed,userContext); }
PropertySearchService.GetByQuery= function(query,onSuccess,onFailed,userContext) {PropertySearchService._staticInstance.GetByQuery(query,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SearchService');
if (typeof(SearchService.SearchResults) === 'undefined') {
SearchService.SearchResults=gtc("SearchResults:SearchService");
SearchService.SearchResults.registerClass('SearchService.SearchResults');
}
if (typeof(SearchService.PagingInfo) === 'undefined') {
SearchService.PagingInfo=gtc("PagingInfo:SearchService");
SearchService.PagingInfo.registerClass('SearchService.PagingInfo');
}
if (typeof(SearchService.PropertyItem) === 'undefined') {
SearchService.PropertyItem=gtc("PropertyItem:SearchService");
SearchService.PropertyItem.registerClass('SearchService.PropertyItem');
}
if (typeof(SearchService.Features) === 'undefined') {
SearchService.Features=gtc("Features:SearchService");
SearchService.Features.registerClass('SearchService.Features');
}
if (typeof(SearchService.Location) === 'undefined') {
SearchService.Location=gtc("Location:SearchService");
SearchService.Location.registerClass('SearchService.Location');
}
if (typeof(SearchService.MetaData) === 'undefined') {
SearchService.MetaData=gtc("MetaData:SearchService");
SearchService.MetaData.registerClass('SearchService.MetaData');
}
