Type.registerNamespace('Agent.Solution.WebService');
Agent.Solution.WebService.WebService=function() {
Agent.Solution.WebService.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Agent.Solution.WebService.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Agent.Solution.WebService.WebService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetMonthlyPaymentForHouse:function(Rate,dp,_propertyprice,_cptax,succeededCallback, failedCallback, userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_cptax" 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(), 'GetMonthlyPaymentForHouse',false,{Rate:Rate,dp:dp,_propertyprice:_propertyprice,_cptax:_cptax},succeededCallback,failedCallback,userContext); },
GetMonthlyPaymentForCondo:function(Rate,dp,_propertyprice,_cptax,_commoncharges,succeededCallback, failedCallback, userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_cptax" type="String">System.String</param>
/// <param name="_commoncharges" 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(), 'GetMonthlyPaymentForCondo',false,{Rate:Rate,dp:dp,_propertyprice:_propertyprice,_cptax:_cptax,_commoncharges:_commoncharges},succeededCallback,failedCallback,userContext); },
GetMonthlyPaymentForCoop:function(Rate,dp,_propertyprice,_maintenance,succeededCallback, failedCallback, userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_maintenance" 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(), 'GetMonthlyPaymentForCoop',false,{Rate:Rate,dp:dp,_propertyprice:_propertyprice,_maintenance:_maintenance},succeededCallback,failedCallback,userContext); },
SendEmail:function(name,emailfrom,IsSendMeCopy,message,emailsTo,Pids,succeededCallback, failedCallback, userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="emailfrom" type="String">System.String</param>
/// <param name="IsSendMeCopy" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="emailsTo" type="String">System.String</param>
/// <param name="Pids" 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(), 'SendEmail',false,{name:name,emailfrom:emailfrom,IsSendMeCopy:IsSendMeCopy,message:message,emailsTo:emailsTo,Pids:Pids},succeededCallback,failedCallback,userContext); },
GetVideo:function(PropertyId,succeededCallback, failedCallback, userContext) {
/// <param name="PropertyId" type="Number">System.Int32</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(), 'GetVideo',false,{PropertyId:PropertyId},succeededCallback,failedCallback,userContext); },
GetprofileVideo:function(VideoID,succeededCallback, failedCallback, userContext) {
/// <param name="VideoID" type="Number">System.Int32</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(), 'GetprofileVideo',false,{VideoID:VideoID},succeededCallback,failedCallback,userContext); }}
Agent.Solution.WebService.WebService.registerClass('Agent.Solution.WebService.WebService',Sys.Net.WebServiceProxy);
Agent.Solution.WebService.WebService._staticInstance = new Agent.Solution.WebService.WebService();
Agent.Solution.WebService.WebService.set_path = function(value) {
Agent.Solution.WebService.WebService._staticInstance.set_path(value); }
Agent.Solution.WebService.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Agent.Solution.WebService.WebService._staticInstance.get_path();}
Agent.Solution.WebService.WebService.set_timeout = function(value) {
Agent.Solution.WebService.WebService._staticInstance.set_timeout(value); }
Agent.Solution.WebService.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Agent.Solution.WebService.WebService._staticInstance.get_timeout(); }
Agent.Solution.WebService.WebService.set_defaultUserContext = function(value) { 
Agent.Solution.WebService.WebService._staticInstance.set_defaultUserContext(value); }
Agent.Solution.WebService.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Agent.Solution.WebService.WebService._staticInstance.get_defaultUserContext(); }
Agent.Solution.WebService.WebService.set_defaultSucceededCallback = function(value) { 
 Agent.Solution.WebService.WebService._staticInstance.set_defaultSucceededCallback(value); }
Agent.Solution.WebService.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Agent.Solution.WebService.WebService._staticInstance.get_defaultSucceededCallback(); }
Agent.Solution.WebService.WebService.set_defaultFailedCallback = function(value) { 
Agent.Solution.WebService.WebService._staticInstance.set_defaultFailedCallback(value); }
Agent.Solution.WebService.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Agent.Solution.WebService.WebService._staticInstance.get_defaultFailedCallback(); }
Agent.Solution.WebService.WebService.set_path("/WebService/WebService.asmx");
Agent.Solution.WebService.WebService.HelloWorld= function(onSuccess,onFailed,userContext) {
/// <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>
Agent.Solution.WebService.WebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.GetMonthlyPaymentForHouse= function(Rate,dp,_propertyprice,_cptax,onSuccess,onFailed,userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_cptax" 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>
Agent.Solution.WebService.WebService._staticInstance.GetMonthlyPaymentForHouse(Rate,dp,_propertyprice,_cptax,onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.GetMonthlyPaymentForCondo= function(Rate,dp,_propertyprice,_cptax,_commoncharges,onSuccess,onFailed,userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_cptax" type="String">System.String</param>
/// <param name="_commoncharges" 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>
Agent.Solution.WebService.WebService._staticInstance.GetMonthlyPaymentForCondo(Rate,dp,_propertyprice,_cptax,_commoncharges,onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.GetMonthlyPaymentForCoop= function(Rate,dp,_propertyprice,_maintenance,onSuccess,onFailed,userContext) {
/// <param name="Rate" type="String">System.String</param>
/// <param name="dp" type="String">System.String</param>
/// <param name="_propertyprice" type="String">System.String</param>
/// <param name="_maintenance" 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>
Agent.Solution.WebService.WebService._staticInstance.GetMonthlyPaymentForCoop(Rate,dp,_propertyprice,_maintenance,onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.SendEmail= function(name,emailfrom,IsSendMeCopy,message,emailsTo,Pids,onSuccess,onFailed,userContext) {
/// <param name="name" type="String">System.String</param>
/// <param name="emailfrom" type="String">System.String</param>
/// <param name="IsSendMeCopy" type="String">System.String</param>
/// <param name="message" type="String">System.String</param>
/// <param name="emailsTo" type="String">System.String</param>
/// <param name="Pids" 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>
Agent.Solution.WebService.WebService._staticInstance.SendEmail(name,emailfrom,IsSendMeCopy,message,emailsTo,Pids,onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.GetVideo= function(PropertyId,onSuccess,onFailed,userContext) {
/// <param name="PropertyId" type="Number">System.Int32</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>
Agent.Solution.WebService.WebService._staticInstance.GetVideo(PropertyId,onSuccess,onFailed,userContext); }
Agent.Solution.WebService.WebService.GetprofileVideo= function(VideoID,onSuccess,onFailed,userContext) {
/// <param name="VideoID" type="Number">System.Int32</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>
Agent.Solution.WebService.WebService._staticInstance.GetprofileVideo(VideoID,onSuccess,onFailed,userContext); }

