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

            return((returntype)(results[0]));
        }
Пример #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(CustomerUpdateServiceRequest ahRequest)
        {
            EventLogger.LogEvent("ENTERING -> SFGWrapper.CustomerUpdateTranslators.TranslateToSfgRequest()");
            argtype sfgRequest = new argtype();

            #region 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

            sfgRequest.customer_number = ahRequest.MemberToUpdate.MemberId;
            sfgRequest.title = ahRequest.MemberToUpdate.Salutation;
            sfgRequest.first = ahRequest.MemberToUpdate.FirstName;
            sfgRequest.mi = ahRequest.MemberToUpdate.MiddleInitial;
            sfgRequest.last = ahRequest.MemberToUpdate.LastName;
            sfgRequest.suffix = ahRequest.MemberToUpdate.Suffix;
            sfgRequest.professional_title = ahRequest.MemberToUpdate.ProfessionalTitle;
            sfgRequest.email = ahRequest.MemberToUpdate.Email;
            sfgRequest.optin = ahRequest.MemberToUpdate.OptIn ? "Y" : "N";

            sfgRequest.business_name = ahRequest.MemberToUpdate.Address.BusinessName;
            sfgRequest.add1 = ahRequest.MemberToUpdate.Address.Address1;
            sfgRequest.add2 = ahRequest.MemberToUpdate.Address.Address2;
            sfgRequest.add3 = ahRequest.MemberToUpdate.Address.Address3;
            sfgRequest.city = ahRequest.MemberToUpdate.Address.City;
            sfgRequest.st = ahRequest.MemberToUpdate.Address.State;
            sfgRequest.zip = ahRequest.MemberToUpdate.Address.PostalCode;
            sfgRequest.country = ahRequest.MemberToUpdate.Address.Country;
            sfgRequest.phone = ahRequest.MemberToUpdate.Address.Phone;
            sfgRequest.fax = ahRequest.MemberToUpdate.Address.Fax;
            sfgRequest.altcity = ahRequest.MemberToUpdate.Address.AltCity;

            EventLogger.LogEvent("LEAVING -> SFGWrapper.CustomerUpdateTranslators.TranslateToSfgRequest()");
            return sfgRequest;
        }
Пример #4
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args)
 {
     this.process_wsdlAsync(args, null);
 }
Пример #5
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);
 }
Пример #6
0
 /// <remarks/>
 public void process_wsdlAsync(argtype args) {
     this.process_wsdlAsync(args, null);
 }
Пример #7
0
 public returntype process_wsdl(argtype args) {
     object[] results = this.Invoke("process_wsdl", new object[] {
                 args});
     return ((returntype)(results[0]));
 }