Example #1
0
        public ProxyGetTaxResult GetTax(ProxyGetTaxRequest GetTaxRequest)
        {
            AvaLogger _avaLog = AvaLogger.GetLogger();
            Perf      monitor = new Perf();

            monitor.Start();

            object[] results = this.Invoke("GetTax", new object[] {
                GetTaxRequest
            });

            monitor.Stop();
            _avaLog.Debug("GetTax (webservice method): " + monitor.ElapsedSeconds(3).ToString());

            return((ProxyGetTaxResult)(results[0]));
        }
 /// <include file='AddressSvc.Doc.xml' path='adapter/common/members[@name="Constructor"]/*' />
 public AddressSvc()
 {
     try
     {
         _avaLog = AvaLogger.GetLogger();
         _avaLog.Debug(string.Format("Instantiating AddressSvc: {0}", base.UniqueId));
         base.ServiceName = SERVICE_NAME;
         ProxyAddressSvc proxy = new ProxyAddressSvc();
         proxy.ProfileValue = new ProxyProfile();
         proxy.Security     = new ProxySecurity();
         base.SvcProxy      = proxy;
     } catch (Exception ex)
     {
         ExceptionManager.HandleException(ex);
     }
 }