@Test public void findRr442Test() throws XRoadServiceConsumptionException { RR442ResponseDocument.RR442Response response = rrXTeeService.findRr442("37709200040", "JOOSEP", "ÖÖVIIUL","EE12345678"); Assert.assertNull(response.getResponse().getFaultCode()); Assert.assertTrue(response.getResponse().getIsikuAadressid().sizeOfIsikuAadressArray() > 0); }
@Override public RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId) throws XRoadServiceConsumptionException { RR442RequestType rr442RequestType = RR442RequestType.Factory.newInstance(); rr442RequestType.setEesnimi(eesnimi); rr442RequestType.setPerenimi(perenimi); rr442RequestType.setIsikukood(isikukood); RR442Document.RR442 paring = RR442Document.RR442.Factory.newInstance(); paring.setRequest(rr442RequestType); return rrXRoadDatabase.rr442V3(paring, userId); }
RrV6XTeeServiceImpl implements RrV6XTeeService { @Override public RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId) throws XRoadServiceConsumptionException { RR442RequestType rr442RequestType = RR442RequestType.Factory.newInstance(); rr442RequestType.setEesnimi(eesnimi); rr442RequestType.setPerenimi(perenimi); rr442RequestType.setIsikukood(isikukood); RR442Document.RR442 paring = RR442Document.RR442.Factory.newInstance(); paring.setRequest(rr442RequestType); return rrXRoadDatabase.rr442V3(paring, userId); } }
RrV6XTeeServiceImpl implements RrV6XTeeService { @Override public RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId) throws XRoadServiceConsumptionException { RR442RequestType rr442RequestType = RR442RequestType.Factory.newInstance(); rr442RequestType.setEesnimi(eesnimi); rr442RequestType.setPerenimi(perenimi); rr442RequestType.setIsikukood(isikukood); RR442Document.RR442 paring = RR442Document.RR442.Factory.newInstance(); paring.setRequest(rr442RequestType); return rrXRoadDatabase.rr442V3(paring, userId); }  }
RrV6XTeeServiceImpl implements RrV6XTeeService { @Override public RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId) throws XRoadServiceConsumptionException { RR442RequestType rr442RequestType = RR442RequestType.Factory.newInstance(); rr442RequestType.setEesnimi(eesnimi); rr442RequestType.setPerenimi(perenimi); rr442RequestType.setIsikukood(isikukood); RR442Document.RR442 paring = RR442Document.RR442.Factory.newInstance(); paring.setRequest(rr442RequestType); return rrXRoadDatabase.rr442V3(paring, userId); }  @Override com.nortal.jroad.client.rrv6.types.eu.x_road.rr.producer.RR441ResponseDocument.RR441Response findRr441(String isikukood, String userId); @Override RRSIDEAADRESSSideDataResponseDocument.RRSIDEAADRESSSideDataResponse sendRRSIDEAADRESSSideDataV1(RRSIDEAADRESSSideDataDocument.RRSIDEAADRESSSideData request, String userId); @Override RRARKJUHILUBAResponseDocument.RRARKJUHILUBAResponse sendRRArkJuhilubaV1(RRARKJUHILUBADocument.RRARKJUHILUBA request, String userId); @Override RR50SurnudIsikuteLeidmineResponseDocument.RR50SurnudIsikuteLeidmineResponse findRR50SurnudIsikuteLeidmine(RR50SurnudIsikuteLeidmineDocument.RR50SurnudIsikuteLeidmine request, String userId); @Override RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId); RR84IsikuSeosedResponseDocument.RR84IsikuSeosedResponse findIsikuSeosedV1(String isikukood); RR84IsikuSeosedResponseDocument.RR84IsikuSeosedResponse findIsikuSeosedV1(String isikukood, String userIdCode); }
RrV6XTeeServiceImpl implements RrV6XTeeService { @Override public RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId) throws XRoadServiceConsumptionException { RR442RequestType rr442RequestType = RR442RequestType.Factory.newInstance(); rr442RequestType.setEesnimi(eesnimi); rr442RequestType.setPerenimi(perenimi); rr442RequestType.setIsikukood(isikukood); RR442Document.RR442 paring = RR442Document.RR442.Factory.newInstance(); paring.setRequest(rr442RequestType); return rrXRoadDatabase.rr442V3(paring, userId); }  @Override com.nortal.jroad.client.rrv6.types.eu.x_road.rr.producer.RR441ResponseDocument.RR441Response findRr441(String isikukood, String userId); @Override RRSIDEAADRESSSideDataResponseDocument.RRSIDEAADRESSSideDataResponse sendRRSIDEAADRESSSideDataV1(RRSIDEAADRESSSideDataDocument.RRSIDEAADRESSSideData request, String userId); @Override RRARKJUHILUBAResponseDocument.RRARKJUHILUBAResponse sendRRArkJuhilubaV1(RRARKJUHILUBADocument.RRARKJUHILUBA request, String userId); @Override RR50SurnudIsikuteLeidmineResponseDocument.RR50SurnudIsikuteLeidmineResponse findRR50SurnudIsikuteLeidmine(RR50SurnudIsikuteLeidmineDocument.RR50SurnudIsikuteLeidmine request, String userId); @Override RR442ResponseDocument.RR442Response findRr442(String isikukood, String eesnimi, String perenimi, String userId); RR84IsikuSeosedResponseDocument.RR84IsikuSeosedResponse findIsikuSeosedV1(String isikukood); RR84IsikuSeosedResponseDocument.RR84IsikuSeosedResponse findIsikuSeosedV1(String isikukood, String userIdCode);  }