public string InitiateBrokerService(InitiateBrokerServiceShipmentEC2 shipment) { var client = GenerateProxy(shipment); OperationContext = "InitiateBrokerService"; return(client.InitiateBrokerServiceEC(shipment.Username, shipment.Password, shipment.BrokerServiceInitiation)); }
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(); }