Example #1
0
        public returntype process_wsdl(argtype args)
        {
            object[] results = this.Invoke("process_wsdl", new object[] {
                args
            });

            return((returntype)(results[0]));
        }
Example #2
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args, object userState)
 {
     if ((this.process_wsdlOperationCompleted == null))
     {
         this.process_wsdlOperationCompleted = new System.Threading.SendOrPostCallback(this.Onprocess_wsdlOperationCompleted);
     }
     this.InvokeAsync("process_wsdl", new object[] {
         args
     }, this.process_wsdlOperationCompleted, userState);
 }
        public static argtype TranslateToSfgRequest(UserMaintenance.Methods methodCalled, UserMaintenanceServiceRequest ahRequest)
        {
            EventLogger.LogEvent("ENTERING -> SFGWrapper.UserMaintTranslators.TranslateToSfgRequest()");
            argtype sfgRequest = new argtype();

            #region common readonly properties
            sfgRequest.org = ahRequest.Org;
            sfgRequest.test_mode = ahRequest.TestMode ? "Y" : "N";
            sfgRequest.app_version = ahRequest.AppVersion;
            sfgRequest.program_type_id = ahRequest.ProgramTypeId;
            #endregion

            switch (methodCalled)
            {
                case UserMaintenance.Methods.CREATELOGIN:
                    sfgRequest.customer_number = ahRequest.MemberId;
                    sfgRequest.new_user = ahRequest.NewUser ? "Y" : "N";
                    sfgRequest.userid = ahRequest.UserName;
                    sfgRequest.pw = ahRequest.Password;
                    sfgRequest.zip = ahRequest.PostalCode;
                    break;
                case UserMaintenance.Methods.UPDATEPASSWORD:
                    sfgRequest.validation_userid = ahRequest.ValidationUserName;
                    sfgRequest.userid = ahRequest.UserName;
                    sfgRequest.pw = ahRequest.Password;
                    break;
                case UserMaintenance.Methods.UPDATEUSERNAME:
                    sfgRequest.userid = ahRequest.UserName;
                    if (string.IsNullOrEmpty(ahRequest.ValidationUserName))
                    {
                        sfgRequest.zip = ahRequest.PostalCode;
                        sfgRequest.customer_number = ahRequest.MemberId;
                    }
                    else
                    {
                       sfgRequest.validation_userid = ahRequest.ValidationUserName; 
                    }
                    sfgRequest.pw = ahRequest.Password;
                    break;
            }
            EventLogger.LogEvent("LEAVING -> SFGWrapper.UserMaintTranslators.TranslateToSfgRequest()");
            return sfgRequest;
        }
Example #4
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args)
 {
     this.process_wsdlAsync(args, null);
 }
Example #5
0
 public returntype process_wsdl(argtype args)
 {
     object[] results = this.Invoke("process_wsdl", new object[] {
                 args});
     return ((returntype)(results[0]));
 }
Example #6
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args, object userState)
 {
     if ((this.process_wsdlOperationCompleted == null))
     {
         this.process_wsdlOperationCompleted = new System.Threading.SendOrPostCallback(this.Onprocess_wsdlOperationCompleted);
     }
     this.InvokeAsync("process_wsdl", new object[] {
                 args}, this.process_wsdlOperationCompleted, userState);
 }
Example #7
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args)
 {
     this.process_wsdlAsync(args, null);
 }