@Test public void oadrCancelReportTest() throws Oadr20bApplicationLayerException, Oadr20bMarshalException, Oadr20bUnmarshalException, Oadr20bXMLSignatureValidationException, Oadr20bXMLSignatureException, OadrSecurityException { OadrCancelReportType oadrCancelReport = Oadr20bEiReportBuilders .newOadr20bCancelReportBuilder("", venConfig.getVenId(), false).addReportRequestId("").build(); String request = oadr20bVENEiReportService.request(vtnHttpId, oadr20bJAXBContext.marshalRoot(oadrCancelReport)); OadrCanceledReportType resp = oadr20bJAXBContext.unmarshal(request, OadrCanceledReportType.class); assertNotNull(resp); assertEquals(resp.getEiResponse().getResponseCode(), String.valueOf(Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453)); }
public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig, OadrCancelReportType oadrCancelReportType) { String requestID = oadrCancelReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bCanceledReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); }
Oadr20bVENEiReportService { public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig, OadrCancelReportType oadrCancelReportType) { String requestID = oadrCancelReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bCanceledReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); } }
Oadr20bVENEiReportService { public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig, OadrCancelReportType oadrCancelReportType) { String requestID = oadrCancelReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bCanceledReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); }  }
Oadr20bVENEiReportService { public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig, OadrCancelReportType oadrCancelReportType) { String requestID = oadrCancelReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bCanceledReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); }  OadrRegisterReportType selfOadrRegisterReport(String requestId, String venId, String reportRequestId); OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
			OadrUpdateReportType oadrUpdateReportType); OadrRegisteredReportType oadrRegisterReport(VtnSessionConfiguration vtnConfig,
			OadrRegisterReportType oadrRegisterReportType); OadrCreatedReportType oadrCreateReport(VtnSessionConfiguration vtnConfig,
			OadrCreateReportType oadrCreateReportType); void oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType); OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig,
			OadrCancelReportType oadrCancelReportType); Object handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload); String request(String username, String payload); }
Oadr20bVENEiReportService { public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig, OadrCancelReportType oadrCancelReportType) { String requestID = oadrCancelReportType.getRequestID(); return Oadr20bEiReportBuilders.newOadr20bCanceledReportBuilder(requestID, Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId()) .build(); }  OadrRegisterReportType selfOadrRegisterReport(String requestId, String venId, String reportRequestId); OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
			OadrUpdateReportType oadrUpdateReportType); OadrRegisteredReportType oadrRegisterReport(VtnSessionConfiguration vtnConfig,
			OadrRegisterReportType oadrRegisterReportType); OadrCreatedReportType oadrCreateReport(VtnSessionConfiguration vtnConfig,
			OadrCreateReportType oadrCreateReportType); void oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType); OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig,
			OadrCancelReportType oadrCancelReportType); Object handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload); String request(String username, String payload);  }