public byte[] DownloadFileStreamed(DownloadFileStreamedShipment shipment) { var client = GenerateProxy(shipment); OperationContext = "DownloadFileStreamed"; return(client.DownloadFileStreamedEC(shipment.Username, shipment.Password, shipment.FileReference, shipment.Reportee)); }
public BrokerServiceFormEC2() { InitializeComponent(); _brokerServiceEpFunc = new BrokerServiceEndPointFunctionEC2(); _brokerServiceEpFunc.ReturnMessageXml += ReturnMessageXmlHandler; _brokerServiceStreanedEpFunc = new BrokerServiceStreamedEndPointFunctionEC2(); _brokerServiceStreanedEpFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); InitiateBrokerServiceShipment = new InitiateBrokerServiceShipmentEC2(); GetAvailableFilesShipment = new GetAvailableFilesShipmentEC2(); UploadFileStreamedShipment = new UploadFileStreamedShipment(); DownloadFileStreamedShipment = new DownloadFileStreamedShipment(); UploadFileStreamedReceiptResult = new UploadFileStreamedResult(); SetupObjForPropertyGrid(); }
private void btn_DownloadFileStreamedLoadShipment_Click(object sender, EventArgs e) { DownloadFileStreamedShipment = Functionality.IoFunctionality.GeneralizedLoadFile(DownloadFileStreamedShipment); SetViewedItem(DownloadFileStreamedShipment, "Shipment for DownloadFileStreamedShipment"); }