public GetExemptionCertificatesResult GetExemptionCertificates(GetExemptionCertificatesRequest getExemptionCertificatesRequest)
        {
            try
            {
                _avaLog.Debug("AvaCertSvc.GetExemptionCertificates");
                _avaLog.Debug("Validate request");
                Utilities.VerifyRequestObject(getExemptionCertificatesRequest);

                _avaLog.Debug("Copying ExemptionCertificates into proxy object");
                ProxyGetExemptionCertificatesRequest proxyRequest = new ProxyGetExemptionCertificatesRequest();
                getExemptionCertificatesRequest.CopyTo(proxyRequest);

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

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

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

                return(localResult);
            }
            catch (Exception ex)
            {
                return(GetExemptionCertificatesResult.CastFromBaseResult(ExceptionManager.HandleException(ex)));
            }
        }
 /// <summary>
 /// Loads a local GetExemptionCertificatesRequest object into a web service copy of the same object.
 /// </summary>
 /// <param name="SvcRequest">The GetExemptionCertificatesRequest object to be copied to.</param>
 internal void CopyTo(ProxyGetExemptionCertificatesRequest SvcRequest)
 {
     SvcRequest.CompanyCode  = CompanyCode;
     SvcRequest.CustomerCode = CustomerCode;
     SvcRequest.FromDate     = FromDate;
     SvcRequest.ToDate       = ToDate;
     SvcRequest.Region       = Region;
 }