Exemple #1
0
        public static ScanDS GetOSDScans(long cProID)
        {
            //Get a list of store locations
            ScanDS scans = null;

            try {
                _Client = new IssueMgtServiceClient();
                scans   = _Client.GetOSDScans(cProID);
                _Client.Close();
            }
            catch (FaultException fe) { throw new ApplicationException("GetOSDScans() service error.", fe); }
            catch (TimeoutException te) { _Client.Abort(); throw new ApplicationException("GetOSDScans() timeout error.", te); }
            catch (CommunicationException ce) { _Client.Abort(); throw new ApplicationException("GetOSDScans() communication error.", ce); }
            return(scans);
        }