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>
        /// Load an empty local GetExemptionCertificates object from the data provided by the web service.
        /// </summary>
        /// <param name="SvcGetExemptionCertificatesResult">The GetExemptionCertificatesResult object provided by the web service.</param>
        internal void CopyFrom(ProxyGetExemptionCertificatesResult SvcGetExemptionCertificatesResult)
        {
            base.CopyFrom(SvcGetExemptionCertificatesResult);
            _recordCount = SvcGetExemptionCertificatesResult.RecordCount;

            if (SvcGetExemptionCertificatesResult.ExemptionCertificates != null && SvcGetExemptionCertificatesResult.ExemptionCertificates.Length > 0)
            {
                for (int idx = 0; idx < SvcGetExemptionCertificatesResult.ExemptionCertificates.Length; idx++)
                {
                    ExemptionCertificate exemptionCertificate = new ExemptionCertificate();
                    exemptionCertificate.CopyFrom(SvcGetExemptionCertificatesResult.ExemptionCertificates[idx]);
                    _exemptionCertificates.Add(exemptionCertificate);
                }
            }
        }