private string ErrNotify_Service(string reporter, string problemType, string Ext, string Time) { // deviceInfo devInfo = new deviceInfo; Service1SoapClient test1 = new Service1SoapClient(); string ret; //string productSN = devInfo.GetProductType( try { ret = test1.CollectDevice_MES_TPMData_New(reporter, deviceInfo.deviceCode, problemType, Ext, Time); } catch (Exception ex) { throw new Exception(ex.Message); } return(ret); }