public virtual void ClearBasicShipmentsettings(BaseShipment shipment) { shipment.Certificate = null; shipment.EndpointName = null; shipment.Password = null; shipment.Username = null; }
public void Test(BaseShipment shipment) { var client = GenerateProxy(shipment); OperationContext = "ReceiptAgencyTest"; client.Test(); }
public void Test(BaseShipment shipment) { var client = GenerateProxy(shipment); OperationContext = "IntStreamedTest"; client.Test(); }
public override void SetBasicShipmentSettings(BaseShipment shipment) { base.SetBasicShipmentSettings(shipment); string spiThumbprint = System.Configuration.ConfigurationManager.AppSettings["SpiCertificateThumbprint"]; ((GetTokenByAuthorizationCodeShipment)shipment).SpiCertificate = GetCertificateByThumbPrint(spiThumbprint); }
public void TestArchiveCommonAgency(BaseShipment shipment) { var client = GenerateArchiveCommonProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "ArchiveCommonAgencyTest"; client.Test(); }
public void TestReporteeArchiveExternalStreamed(BaseShipment shipment) { var client = GenerateReporteeArchiveStreamedProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "RAStreamedTest"; client.Test(); }
public void TestSoArchiveStreamed(BaseShipment shipment) { var client = GenerateSoArchiveStreamedProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "SOAStreamedTest"; client.Test(); }
public void Test(BaseShipment shipment) { var client = GenerateProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "IntStreamedTest"; client.Test(); }
public virtual void SetBasicShipmentSettings(BaseShipment shipment) { shipment.Certificate = SelectedCertificate; shipment.EndpointName = SelectedEndpointName; shipment.Username = SystemUsername; shipment.Password = SystemPassword; }
public void Test(BaseShipment Shipment) { var client = GenerateProxy(Shipment); OperationContext = "CaseAgencyTest"; client.Test(); }
public void Test(BaseShipment shipment) { var client = GenerateAuthorizationTokenProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "AuthAccessTokenTest"; client.Test(); }
public void Test(BaseShipment shipment) { var client = GenerateProxy(shipment); OperationContext = _context + "Test"; client.Test(); }
public void TestAuthorizationAdministration(BaseShipment shipment) { var client = GenerateAuthorizationAdministrationProxy(shipment.EndpointName, shipment.Certificate); OperationContext = "AuthAdminTest"; client.Test(); }
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 void Test(BaseShipment shipment) { var client = GenerateProxy(shipment); OperationContext = "BrokerServiceTest"; client.Test(); }
public int GetAltinnSubmissionStatusEc(BaseShipment shipment) { OperationContext = "IntGetAltinnSubmissionStatus"; using (var client = GenerateIntermediaryInboundProxy(shipment)) { return(client.GetAltinnSubmissionStatusEC(shipment.Username, shipment.Password)); } }
public void Test(BaseShipment shipment) { OperationContext = "BatchLoggingAgencyTest"; using (var client = GenerateBatchLoggingAgencyProxy(shipment)) { client.Test(); } }
public void Test(BaseShipment shipment) { System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12; var client = GenerateProxy(shipment); OperationContext = "BrokerServiceTest"; client.Test(); }
public void Test(BaseShipment shipment) { OperationContext = "IntTest"; using (var client = GenerateIntermediaryInboundProxy(shipment)) { client.Test(); } }
public IntermediaryInboundStreamedFormEC2() { InitializeComponent(); IisepFunc = new IntermediaryInboundStreamedEndPointFunctionalityEC2(); IisepFunc.ReturnMessageXml += ReturnMessageXmlHandler; Shipment = new IntermediaryStreamedSubmitAttachmentShipment(); TestShipment = new BaseShipment(); Result = new IntermediaryStreamedAttachmentResult(); }
public ClientBaseForm() { InitializeComponent(); lbl_viewedObject.Text = ""; _endPointConfigurationNameList = new List <string>(); pg_objectViewer.PropertySort = PropertySort.NoSort; ReturnValueInt = new IntWrapper(); ReturnValueString = new StringWrapper(); ShipmentTest = new BaseShipment(); }
public PrefillForm() { InitializeComponent(); _peusepFunc = new PrefillEusEndPointFunction(); _peusepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentGpd = new GetPrefillDataShipmentBase(); ShipmentGpdv2 = new GetPrefillDataV2ShipmentExt(); ResultGpd = new PrefillDataBE(); ResultGpdv2 = new PrefillDataBEv2(); }
public LookUpFormEC2() { InitializeComponent(); _lookUpEndPointFunction = new LookUpEndPointFunctionEC2(); _lookUpEndPointFunction.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); LookUpShipment = new LookUpShipmentEC2(); SetupObjForPropertyGrid(); }
public PrefillForm() { InitializeComponent(); peusepFunc = new Functionality.EndPoints.ServiceEngine.Prefill.PrefillEUSEndPointFunction(); peusepFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentGPD = new GetPrefillDataShipmentBase(); ShipmentGPDV2 = new GetPrefillDataV2ShipmentExt(); ResultGPD = new PrefillDataBE(); ResultGPDV2 = new PrefillDataBEv2(); }
public CaseForm() { InitializeComponent(); caseEPFunc = new CaseEndPointFunction(); caseEPFunc.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentArchiveCase = new ArchiveCaseShipment(); ShipmentCaseList = new CaseListShipment(); ShipmentInstantiateCollaboration = new InstantiateCollaborationShipment(); ResultCaseList = new CaseBEList(); }
public CaseAgencyFormEC2() { InitializeComponent(); FuncCasep = new CaseAgencySystemEndPointFunctionEC2(); FuncCasep.ReturnMessageXml += ReturnMessageXmlHandler; ShipmentTest = new BaseShipment(); ShipmentCaseList = new CaseListShipment(); ShipmentSetNotice = new SetNoticeShipmentEC2(); ShipmentNotifyEvent = new NotifyEventShipmentEC2(); ShipmentInstantiateCollaboration = new InstantiateCollaborationShipment(); SetupObjForPropGrid(); }
public BatchLoggingFormEC2() { Func = new BatchLoggingAgencyEndPointFunctionalityEC2(); Func.ReturnMessageXml += ReturnMessageXmlHandler; Shipment = new BatchLoggingAgencyShipmentEC2(); TestShipment = new BaseShipment(); Result = new BatchLoggingStatusOverview(); ResultDetail = new BatchLoggingDetailedStatus(); DataItemResult = new DataItem(); InitializeComponent(); SetupObjectsForPropertyGrid(); AssignActions(); }
private void button1_Click(object sender, EventArgs e) { try { BaseShipment shipment = new BaseShipment(); SetBasicShipmentSettings(shipment); Client.Test(shipment); SetViewedItem("OK", "Test result: "); } catch (Exception ex) { SetViewedItem(ex, "Error during Test: "); } }
public ReporteeArchiveFormEC2() { InitializeComponent(); SetupObjectsForPropertyGrid(); ArchivedFormTask = new ArchivedFormTaskV2(); Attachment = new AttachmentBEV2(); ArchivedLookup = new ArchivedLookupExternal(); RepArchFunc = new ReporteeArchiveEndPointFunctionalityEC2(); RepArchFunc.ReturnMessageXml += ReturnMessageXmlHandler; GetFtShipment = new ReporteeArchiveShipment(); GetLuShipment = new ReporteeArchiveLookupShipment(); AttachmentShipment = new AttachmentBaseShipment(); ArchiveBaseShipment = new ArchiveBaseShipment(); BaseShipment = new BaseShipment(); AssignActions(); }
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(); }