@Test public void oadrRequestReregistrationTest() throws Oadr20bApplicationLayerException, Oadr20bMarshalException, Oadr20bUnmarshalException, Oadr20bXMLSignatureValidationException, Oadr20bXMLSignatureException, OadrSecurityException, IOException { OadrRequestReregistrationType oadrRequestReregistrationType = Oadr20bEiRegisterPartyBuilders .newOadr20bRequestReregistrationBuilder(venConfig.getVenId()).build(); String request = oadr20bVENEiRegisterPartyService.request(vtnHttpId, oadr20bJAXBContext.marshalRoot(oadrRequestReregistrationType)); OadrResponseType oadrRequestReregistration = oadr20bJAXBContext.unmarshal(request, OadrResponseType.class); assertNotNull(oadrRequestReregistration); }
public OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration, OadrRequestReregistrationType oadrRequestReregistrationType) { String requestId = ""; String venID = oadrRequestReregistrationType.getVenID(); int responseCode = HttpStatus.OK_200; reinitRegistration(vtnConfiguration); oadrPollService.reinitPoll(vtnConfiguration); return Oadr20bResponseBuilders.newOadr20bResponseBuilder(requestId, responseCode, venID).build(); }
Oadr20bVENEiRegisterPartyService { public OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration, OadrRequestReregistrationType oadrRequestReregistrationType) { String requestId = ""; String venID = oadrRequestReregistrationType.getVenID(); int responseCode = HttpStatus.OK_200; reinitRegistration(vtnConfiguration); oadrPollService.reinitPoll(vtnConfiguration); return Oadr20bResponseBuilders.newOadr20bResponseBuilder(requestId, responseCode, venID).build(); } }
Oadr20bVENEiRegisterPartyService { public OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration, OadrRequestReregistrationType oadrRequestReregistrationType) { String requestId = ""; String venID = oadrRequestReregistrationType.getVenID(); int responseCode = HttpStatus.OK_200; reinitRegistration(vtnConfiguration); oadrPollService.reinitPoll(vtnConfiguration); return Oadr20bResponseBuilders.newOadr20bResponseBuilder(requestId, responseCode, venID).build(); }  }
Oadr20bVENEiRegisterPartyService { public OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration, OadrRequestReregistrationType oadrRequestReregistrationType) { String requestId = ""; String venID = oadrRequestReregistrationType.getVenID(); int responseCode = HttpStatus.OK_200; reinitRegistration(vtnConfiguration); oadrPollService.reinitPoll(vtnConfiguration); return Oadr20bResponseBuilders.newOadr20bResponseBuilder(requestId, responseCode, venID).build(); }  OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration,
			OadrRequestReregistrationType oadrRequestReregistrationType); OadrCanceledPartyRegistrationType oadrCancelPartyRegistration(VtnSessionConfiguration vtnConfiguration,
			OadrCancelPartyRegistrationType oadrCancelPartyRegistrationType); void clearRegistration(VtnSessionConfiguration vtnConfiguration); void reinitRegistration(VtnSessionConfiguration vtnConfiguration); void initRegistration(VtnSessionConfiguration vtnConfiguration); void register(VtnSessionConfiguration vtnConfiguration, OadrCreatedPartyRegistrationType registration); OadrCreatedPartyRegistrationType getRegistration(VtnSessionConfiguration vtnConfiguration); void addListener(Oadr20bVENEiRegisterPartyServiceListener listener); Object handle(VtnSessionConfiguration vtnConfig, OadrPayload oadrPayload); void oadrCreatedPartyRegistration(VtnSessionConfiguration vtnConfig,
			OadrCreatedPartyRegistrationType oadrCreatedPartyRegistrationType); String request(String username, String payload); List<Oadr20bVENEiRegisterPartyServiceListener> getListeners(); }
Oadr20bVENEiRegisterPartyService { public OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration, OadrRequestReregistrationType oadrRequestReregistrationType) { String requestId = ""; String venID = oadrRequestReregistrationType.getVenID(); int responseCode = HttpStatus.OK_200; reinitRegistration(vtnConfiguration); oadrPollService.reinitPoll(vtnConfiguration); return Oadr20bResponseBuilders.newOadr20bResponseBuilder(requestId, responseCode, venID).build(); }  OadrResponseType oadrRequestReregistration(VtnSessionConfiguration vtnConfiguration,
			OadrRequestReregistrationType oadrRequestReregistrationType); OadrCanceledPartyRegistrationType oadrCancelPartyRegistration(VtnSessionConfiguration vtnConfiguration,
			OadrCancelPartyRegistrationType oadrCancelPartyRegistrationType); void clearRegistration(VtnSessionConfiguration vtnConfiguration); void reinitRegistration(VtnSessionConfiguration vtnConfiguration); void initRegistration(VtnSessionConfiguration vtnConfiguration); void register(VtnSessionConfiguration vtnConfiguration, OadrCreatedPartyRegistrationType registration); OadrCreatedPartyRegistrationType getRegistration(VtnSessionConfiguration vtnConfiguration); void addListener(Oadr20bVENEiRegisterPartyServiceListener listener); Object handle(VtnSessionConfiguration vtnConfig, OadrPayload oadrPayload); void oadrCreatedPartyRegistration(VtnSessionConfiguration vtnConfig,
			OadrCreatedPartyRegistrationType oadrCreatedPartyRegistrationType); String request(String username, String payload); List<Oadr20bVENEiRegisterPartyServiceListener> getListeners();  }