public CorrespondenceAgencyNoSystemFormEC2()
 {
     InitializeComponent();
     InitializeComponent();
     _caepFunc = new CorrespondenceAgencyNoSystemEndPointFunctionEC2();
     _caepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
     ShipmentTest = new BaseShipment();
     ShipmentIc   = new InsertCorrespondenceShipmentAec2 {
         InsertCorrespondence = new InsertCorrespondenceV2()
     };
     ShipmentIc.InsertCorrespondence.SdpOptions = new SdpOptions();
     Notifications = new NotificationBEList();
     ShipmentIc.InsertCorrespondence.Notifications       = Notifications;
     ShipmentIc.InsertCorrespondence.ReplyOptions        = new CorrespondenceInsertLinkBEList();
     ShipmentIc.InsertCorrespondence.Content             = new ExternalContentV2();
     ShipmentIc.InsertCorrespondence.Content.Attachments = new AttachmentsV2();
     Filter = new GetCorrespondenceStatusEC2();
     CorrespondenceStatus = new CorrespondenceStatusResultV3();
     Filter.CorrespondenceStatusFilter = new CorrespondenceStatusFilterV3();
     Filter.CorrespondenceStatusFilter.SdpSearchOptions = new SdpStatusSearchOptions();
     GchShipment = new GetCorrespondenceStatusHistoryAec2Shipment();
     SetUpObjForPropGrid();
     tb_userName.Enabled = false;
     tb_password.Enabled = false;
 }
Exemplo n.º 2
0
 public CorrespondenceStatusHistoryAec2Result GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryAec2Shipment shipment)
 {
     using (var client = GenerateProxy(shipment))
     {
         OperationContext = _context + "GetcorrespondenceStatusHistory";
         CorrespondenceAgencyNoSystemEC2.CorrespondenceStatusInformation result = client.GetCorrespondenceStatusHistoryAEC(shipment.Request, out var output);
         return(new CorrespondenceStatusHistoryAec2Result(result, output));
     }
 }
 private void btn_GCH_LS_Click(object sender, EventArgs e)
 {
     GchShipment = InvokeLoad <GetCorrespondenceStatusHistoryAec2Shipment>();
 }