var wsPortfolio=function() {
wsPortfolio.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsPortfolio.prototype={
getPropsByCity:function(city,succeededCallback, failedCallback, userContext) {
return this._invoke(wsPortfolio.get_path(), 'getPropsByCity',false,{city:city},succeededCallback,failedCallback,userContext); },
getFeaturedProps:function(succeededCallback, failedCallback, userContext) {
return this._invoke(wsPortfolio.get_path(), 'getFeaturedProps',false,{},succeededCallback,failedCallback,userContext); }}
wsPortfolio.registerClass('wsPortfolio',Sys.Net.WebServiceProxy);
wsPortfolio._staticInstance = new wsPortfolio();
wsPortfolio.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; wsPortfolio._staticInstance._path = value; }
wsPortfolio.get_path = function() { return wsPortfolio._staticInstance._path; }
wsPortfolio.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
wsPortfolio._staticInstance._timeout = value; }
wsPortfolio.get_timeout = function() { 
return wsPortfolio._staticInstance._timeout; }
wsPortfolio.set_defaultUserContext = function(value) { 
wsPortfolio._staticInstance._userContext = value; }
wsPortfolio.get_defaultUserContext = function() { 
return wsPortfolio._staticInstance._userContext; }
wsPortfolio.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; wsPortfolio._staticInstance._succeeded = value; }
wsPortfolio.get_defaultSucceededCallback = function() { 
return wsPortfolio._staticInstance._succeeded; }
wsPortfolio.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; wsPortfolio._staticInstance._failed = value; }
wsPortfolio.get_defaultFailedCallback = function() { 
return wsPortfolio._staticInstance._failed; }
wsPortfolio.set_path("/webservices/wsPortfolio.asmx");
wsPortfolio.getPropsByCity= function(city,onSuccess,onFailed,userContext) {wsPortfolio._staticInstance.getPropsByCity(city,onSuccess,onFailed,userContext); }
wsPortfolio.getFeaturedProps= function(onSuccess,onFailed,userContext) {wsPortfolio._staticInstance.getFeaturedProps(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(StreamProperty) === 'undefined') {
var StreamProperty=gtc("StreamProperty");
StreamProperty.registerClass('StreamProperty');
}
if (typeof(FeaturedProp) === 'undefined') {
var FeaturedProp=gtc("FeaturedProp");
FeaturedProp.registerClass('FeaturedProp');
}
