public CorrespondenceStatusHistoryResultExEC2 GetCorrespondenceStatusHistory(GetCorrespondenceStatusHistoryShipmentEC2 shipment) { using (var client = GenerateProxy(shipment)) { OperationContext = _context + "GetcorrespondenceStatusHistory"; //TODO: Fix the out parameter is just burried SdpStatusInformation sdpStatusInformation; CorrespondenceStatusInformation output1 = client.GetCorrespondenceStatusHistoryEC(shipment.Password, shipment.Username, shipment.Request, out sdpStatusInformation); return(new CorrespondenceStatusHistoryResultExEC2(output1, sdpStatusInformation)); } }
public CorrespondenceAgencyFormEC2() { InitializeComponent(); MyCollectionEditor.MyFormClosed += MyCollectionEditor_MyFormClosed; _caepFunc = new CorrespondenceAgencyEndPointFunctionEC2(); _caepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); Notifications = new NotificationBEList(); ShipmentIc = new InsertCorrespondenceShipmentEC2 { InsertCorrespondence = new InsertCorrespondenceV2() }; ShipmentIc.InsertCorrespondence.Notifications = Notifications; ShipmentIc.InsertCorrespondence.ReplyOptions = new CorrespondenceInsertLinkBEList(); ShipmentIc.InsertCorrespondence.Content = new ExternalContentV2 { Attachments = new AttachmentsV2() }; GchShipment = new GetCorrespondenceStatusHistoryShipmentEC2(); GcdShipment = new GetCorrespondenceStatusDetailsShipmentEC2(); _gchResult = new CorrespondenceStatusHistoryResultExEC2(); // InvokeAssignTypeDescriptor(this.GetType()); SetUpObjForPropGrid(); }