Example #1
0
        public void SaveAsXml(EDITransmissionPackage ediTransmissionPackage)
        {
            var ediXmlInterchangeControl = ediTransmissionPackage.GetInterchangeControl();
            var fname       = GetFileName(ediTransmissionPackage) + ".xml";
            var workingName = _config.WorkingFolder() + fname;
            var uploadName  = _config.ArchiveFolder() + fname;

            _fileUtilities.SaveTextAndRename(ediXmlInterchangeControl.ToString(), workingName, uploadName);
        }
Example #2
0
 public static string ArchiveFolder( )
 {
     ensureInitialized();
     return(_config.ArchiveFolder( ));
 }