Type.registerNamespace('HBM2.BuyerPortal.WebServices');
HBM2.BuyerPortal.WebServices.WebActivity=function() {
HBM2.BuyerPortal.WebServices.WebActivity.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HBM2.BuyerPortal.WebServices.WebActivity.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_path();},
LogViewDirectionsActivity:function(mlsListingID,propertyAddress,succeededCallback, failedCallback, userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="propertyAddress" 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(), 'LogViewDirectionsActivity',false,{mlsListingID:mlsListingID,propertyAddress:propertyAddress},succeededCallback,failedCallback,userContext); },
LogViewMortgagePaymentCalculatorActivity:function(mlsListingID,price,succeededCallback, failedCallback, userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="price" 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(), 'LogViewMortgagePaymentCalculatorActivity',false,{mlsListingID:mlsListingID,price:price},succeededCallback,failedCallback,userContext); },
LogViewMapActivity:function(mlsListingID,propertyAddress,succeededCallback, failedCallback, userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="propertyAddress" 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(), 'LogViewMapActivity',false,{mlsListingID:mlsListingID,propertyAddress:propertyAddress},succeededCallback,failedCallback,userContext); }}
HBM2.BuyerPortal.WebServices.WebActivity.registerClass('HBM2.BuyerPortal.WebServices.WebActivity',Sys.Net.WebServiceProxy);
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance = new HBM2.BuyerPortal.WebServices.WebActivity();
HBM2.BuyerPortal.WebServices.WebActivity.set_path = function(value) {
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.set_path(value); }
HBM2.BuyerPortal.WebServices.WebActivity.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_path();}
HBM2.BuyerPortal.WebServices.WebActivity.set_timeout = function(value) {
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.set_timeout(value); }
HBM2.BuyerPortal.WebServices.WebActivity.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_timeout(); }
HBM2.BuyerPortal.WebServices.WebActivity.set_defaultUserContext = function(value) { 
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.set_defaultUserContext(value); }
HBM2.BuyerPortal.WebServices.WebActivity.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_defaultUserContext(); }
HBM2.BuyerPortal.WebServices.WebActivity.set_defaultSucceededCallback = function(value) { 
 HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.set_defaultSucceededCallback(value); }
HBM2.BuyerPortal.WebServices.WebActivity.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_defaultSucceededCallback(); }
HBM2.BuyerPortal.WebServices.WebActivity.set_defaultFailedCallback = function(value) { 
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.set_defaultFailedCallback(value); }
HBM2.BuyerPortal.WebServices.WebActivity.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.get_defaultFailedCallback(); }
HBM2.BuyerPortal.WebServices.WebActivity.set_path("/WebServices/WebActivity.asmx");
HBM2.BuyerPortal.WebServices.WebActivity.LogViewDirectionsActivity= function(mlsListingID,propertyAddress,onSuccess,onFailed,userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="propertyAddress" 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>
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.LogViewDirectionsActivity(mlsListingID,propertyAddress,onSuccess,onFailed,userContext); }
HBM2.BuyerPortal.WebServices.WebActivity.LogViewMortgagePaymentCalculatorActivity= function(mlsListingID,price,onSuccess,onFailed,userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="price" 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>
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.LogViewMortgagePaymentCalculatorActivity(mlsListingID,price,onSuccess,onFailed,userContext); }
HBM2.BuyerPortal.WebServices.WebActivity.LogViewMapActivity= function(mlsListingID,propertyAddress,onSuccess,onFailed,userContext) {
/// <param name="mlsListingID" type="String">System.String</param>
/// <param name="propertyAddress" 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>
HBM2.BuyerPortal.WebServices.WebActivity._staticInstance.LogViewMapActivity(mlsListingID,propertyAddress,onSuccess,onFailed,userContext); }

