public ArchivedCorrespondence GetReporteeArchiveCorrespondence(ReporteeArchiveCorrespondenceShipment shipment)
        {
            var client = GenerateReporteeArchiveProxy(shipment.EndpointName, shipment.Certificate);

            OperationContext = "RAGetReporteeArchiveCorrespondence";
            return(client.GetArchivedCorrespondenceEC(shipment.Username, shipment.Password, shipment.ArchiveId));
        }
 public ReporteeArchiveForm()
 {
     InitializeComponent();
     SetupObjectsForPropertyGrid();
     ArchivedFormTask                      = new ArchivedFormTaskV2();
     Attachment                            = new AttachmentBEV2();
     ArchivedLookup                        = new ArchivedLookupExternal();
     RepArchFunc                           = new ReporteeArchiveEndPointFunctionality();
     RepArchFunc.ReturnMessageXml         += ReturnMessageXmlHandler;
     GetFtShipment                         = new ReporteeArchiveShipment();
     GetLuShipment                         = new ReporteeArchiveLookupShipment();
     AttachmentShipment                    = new AttachmentBaseShipment();
     ArchiveBaseShipment                   = new ArchiveBaseShipment();
     BaseShipment                          = new BaseShipment();
     ReporteeArchiveCorrespondenceShipment = new ReporteeArchiveCorrespondenceShipment();
     ArchivedCorrespondence                = new ArchivedCorrespondence();
     AssignActions();
 }