public AddCustomerResult AddCustomer(AddCustomerRequest addCustomerRequest)
        {
            try
            {
                _avaLog.Debug("AvaCertSvc.AddCustomer");
                _avaLog.Debug("Validate request");
                Utilities.VerifyRequestObject(addCustomerRequest);

                _avaLog.Debug("Copying customer into proxy object");
                ProxyAddCustomerRequest proxyRequest = new ProxyAddCustomerRequest();
                addCustomerRequest.CopyTo(proxyRequest);

                ProxyAddCustomerResult svcResult = (ProxyAddCustomerResult)base.InvokeService(typeof(ProxyAvaCertSvc), MethodBase.GetCurrentMethod().Name, new object[] { proxyRequest });

                _avaLog.Debug("Copying result from proxy object");

                AddCustomerResult localResult = new AddCustomerResult();
                localResult.CopyFrom(svcResult);

                return(localResult);
            }
            catch (Exception ex)
            {
                return(AddCustomerResult.CastFromBaseResult(ExceptionManager.HandleException(ex)));
            }
        }
        /// <summary>
        /// Loads a local AddCustomerRequest object into a web service copy of the same object.
        /// </summary>
        /// <param name="SvcRequest">The AddCustomerRequest object to be copied to.</param>
        internal void CopyTo(ProxyAddCustomerRequest SvcRequest)
        {
            ProxyCustomer proxyCustomer = new ProxyCustomer();

            this.Customer.CopyTo(proxyCustomer);

            SvcRequest.Customer = proxyCustomer;
        }