Type.registerNamespace('PsagotOfek.Gateway');
PsagotOfek.Gateway.IPsagotOfekWCFService=function() {
PsagotOfek.Gateway.IPsagotOfekWCFService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PsagotOfek.Gateway.IPsagotOfekWCFService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_path();},
DoWork: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(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
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); },
RetrieveLostPass:function(userName,eMail,currentRetrievePasswordEnvironment,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="eMail" type="String">System.String</param>
/// <param name="currentRetrievePasswordEnvironment" 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(), 'RetrieveLostPass',false,{userName:userName,eMail:eMail,currentRetrievePasswordEnvironment:currentRetrievePasswordEnvironment},succeededCallback,failedCallback,userContext); },
SendToFriend:function(recipient,sender,subject,body,strUrl,succeededCallback, failedCallback, userContext) {
/// <param name="recipient" type="String">System.String</param>
/// <param name="sender" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="body" type="String">System.String</param>
/// <param name="strUrl" 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(), 'SendToFriend',false,{recipient:recipient,sender:sender,subject:subject,body:body,strUrl:strUrl},succeededCallback,failedCallback,userContext); },
DeleteOldPdfFiles:function(pdfFolderPath,succeededCallback, failedCallback, userContext) {
/// <param name="pdfFolderPath" 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(), 'DeleteOldPdfFiles',false,{pdfFolderPath:pdfFolderPath},succeededCallback,failedCallback,userContext); }}
PsagotOfek.Gateway.IPsagotOfekWCFService.registerClass('PsagotOfek.Gateway.IPsagotOfekWCFService',Sys.Net.WebServiceProxy);
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance = new PsagotOfek.Gateway.IPsagotOfekWCFService();
PsagotOfek.Gateway.IPsagotOfekWCFService.set_path = function(value) {
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.set_path(value); }
PsagotOfek.Gateway.IPsagotOfekWCFService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_path();}
PsagotOfek.Gateway.IPsagotOfekWCFService.set_timeout = function(value) {
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.set_timeout(value); }
PsagotOfek.Gateway.IPsagotOfekWCFService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_timeout(); }
PsagotOfek.Gateway.IPsagotOfekWCFService.set_defaultUserContext = function(value) { 
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.set_defaultUserContext(value); }
PsagotOfek.Gateway.IPsagotOfekWCFService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_defaultUserContext(); }
PsagotOfek.Gateway.IPsagotOfekWCFService.set_defaultSucceededCallback = function(value) { 
 PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.set_defaultSucceededCallback(value); }
PsagotOfek.Gateway.IPsagotOfekWCFService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_defaultSucceededCallback(); }
PsagotOfek.Gateway.IPsagotOfekWCFService.set_defaultFailedCallback = function(value) { 
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.set_defaultFailedCallback(value); }
PsagotOfek.Gateway.IPsagotOfekWCFService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_defaultFailedCallback(); }
PsagotOfek.Gateway.IPsagotOfekWCFService.set_path("/SOA/PsagotOfekWCFService.svc");
PsagotOfek.Gateway.IPsagotOfekWCFService.DoWork= 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>
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.DoWork(onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.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>
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.RetrieveLostPass= function(userName,eMail,currentRetrievePasswordEnvironment,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="eMail" type="String">System.String</param>
/// <param name="currentRetrievePasswordEnvironment" 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>
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.RetrieveLostPass(userName,eMail,currentRetrievePasswordEnvironment,onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.SendToFriend= function(recipient,sender,subject,body,strUrl,onSuccess,onFailed,userContext) {
/// <param name="recipient" type="String">System.String</param>
/// <param name="sender" type="String">System.String</param>
/// <param name="subject" type="String">System.String</param>
/// <param name="body" type="String">System.String</param>
/// <param name="strUrl" 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>
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.SendToFriend(recipient,sender,subject,body,strUrl,onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.DeleteOldPdfFiles= function(pdfFolderPath,onSuccess,onFailed,userContext) {
/// <param name="pdfFolderPath" 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>
PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.DeleteOldPdfFiles(pdfFolderPath,onSuccess,onFailed,userContext); }

