Exemplo n.º 1
0
 public CorrespondenceAgencyNoSystemForm()
 {
     InitializeComponent();
     InitializeComponent();
     caepFunc = new CorrespondenceAgencyNoSystemEndPointFunction();
     caepFunc.ReturnMessageXml += ReturnMessageXmlHandler;
     ShipmentTest = new BaseShipment();
     ShipmentIC   = new InsertCorrespondenceShipmentAEC {
         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 GetCorrespondenceStatus();
     CorrespondenceStatus = new CorrespondenceStatusResultV3();
     Filter.CorrespondenceStatusFilter = new CorrespondenceStatusFilterV3();
     Filter.CorrespondenceStatusFilter.SdpSearchOptions = new SdpStatusSearchOptions();
     GCHShipment = new GetCorrespondenceStatusHistoryAECShipment();
     SetUpObjForPropGrid();
     tb_userName.Enabled = false;
     tb_password.Enabled = false;
 }
 public CorrespondenceStatusHistoryAECResult GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryAECShipment shipment)
 {
     using (var client = GenerateProxy(shipment))
     {
         CorrespondenceStatusHistoryRequestExternalBE req = new CorrespondenceStatusHistoryRequestExternalBE();
         req.CorrespondenceSendersReferences = shipment.request;
         OperationContext = Context + "GetcorrespondenceStatusHistory";
         return(new CorrespondenceStatusHistoryAECResult(client.GetCorrespondenceStatusHistoryAEC(req)));
     }
 }
Exemplo n.º 3
0
 private void btn_GCH_LS_Click(object sender, EventArgs e)
 {
     GCHShipment = InvokeLoad <GetCorrespondenceStatusHistoryAECShipment>();
 }