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) {
return this._invoke(this._get_path(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
RetrieveLostPass:function(userName,eMail,currentRetrievePasswordEnvironment,succeededCallback, failedCallback, userContext) {
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) {
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) {
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() { 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() { 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() { 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() { 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() { return PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.get_defaultFailedCallback(); }
PsagotOfek.Gateway.IPsagotOfekWCFService.set_path("http://www.psagot.co.il/SOA/PsagotOfekWCFService.svc");
PsagotOfek.Gateway.IPsagotOfekWCFService.DoWork= function(onSuccess,onFailed,userContext) {PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.DoWork(onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.HelloWorld= function(onSuccess,onFailed,userContext) {PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.RetrieveLostPass= function(userName,eMail,currentRetrievePasswordEnvironment,onSuccess,onFailed,userContext) {PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.RetrieveLostPass(userName,eMail,currentRetrievePasswordEnvironment,onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.SendToFriend= function(recipient,sender,subject,body,strUrl,onSuccess,onFailed,userContext) {PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.SendToFriend(recipient,sender,subject,body,strUrl,onSuccess,onFailed,userContext); }
PsagotOfek.Gateway.IPsagotOfekWCFService.DeleteOldPdfFiles= function(pdfFolderPath,onSuccess,onFailed,userContext) {PsagotOfek.Gateway.IPsagotOfekWCFService._staticInstance.DeleteOldPdfFiles(pdfFolderPath,onSuccess,onFailed,userContext); }
