Type.registerNamespace('SoftRealty.Web.Library.Services');
SoftRealty.Web.Library.Services.MlsRequestService=function() {
SoftRealty.Web.Library.Services.MlsRequestService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SoftRealty.Web.Library.Services.MlsRequestService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_path();},
SendRequest:function(request,succeededCallback, failedCallback, userContext) {
/// <param name="request" type="SoftRealty.Web.Library.Services.MlsRequest">SoftRealty.Web.Library.Services.MlsRequest</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(), 'SendRequest',false,{request:request},succeededCallback,failedCallback,userContext); }}
SoftRealty.Web.Library.Services.MlsRequestService.registerClass('SoftRealty.Web.Library.Services.MlsRequestService',Sys.Net.WebServiceProxy);
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance = new SoftRealty.Web.Library.Services.MlsRequestService();
SoftRealty.Web.Library.Services.MlsRequestService.set_path = function(value) {
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.set_path(value); }
SoftRealty.Web.Library.Services.MlsRequestService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_path();}
SoftRealty.Web.Library.Services.MlsRequestService.set_timeout = function(value) {
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.set_timeout(value); }
SoftRealty.Web.Library.Services.MlsRequestService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_timeout(); }
SoftRealty.Web.Library.Services.MlsRequestService.set_defaultUserContext = function(value) { 
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.set_defaultUserContext(value); }
SoftRealty.Web.Library.Services.MlsRequestService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_defaultUserContext(); }
SoftRealty.Web.Library.Services.MlsRequestService.set_defaultSucceededCallback = function(value) { 
 SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.set_defaultSucceededCallback(value); }
SoftRealty.Web.Library.Services.MlsRequestService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_defaultSucceededCallback(); }
SoftRealty.Web.Library.Services.MlsRequestService.set_defaultFailedCallback = function(value) { 
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.set_defaultFailedCallback(value); }
SoftRealty.Web.Library.Services.MlsRequestService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.get_defaultFailedCallback(); }
SoftRealty.Web.Library.Services.MlsRequestService.set_path("/Library/Services/MlsRequestService.asmx");
SoftRealty.Web.Library.Services.MlsRequestService.SendRequest= function(request,onSuccess,onFailed,userContext) {
/// <param name="request" type="SoftRealty.Web.Library.Services.MlsRequest">SoftRealty.Web.Library.Services.MlsRequest</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>
SoftRealty.Web.Library.Services.MlsRequestService._staticInstance.SendRequest(request,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(SoftRealty.Web.Library.Services.MlsRequest) === 'undefined') {
SoftRealty.Web.Library.Services.MlsRequest=gtc("SoftRealty.Web.Library.Services.MlsRequest");
SoftRealty.Web.Library.Services.MlsRequest.registerClass('SoftRealty.Web.Library.Services.MlsRequest');
}
