@Test public void testGetServiceinfoV1() throws Exception { ServiceinfoResponseDocument.ServiceinfoResponse response = kvkrXTeeServiceImpl.getServiceinfoV1("38812192729", "TEST"); Assert.assertNotNull(response); }
public ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds) throws XRoadServiceConsumptionException { Serviceinfo serviceinfo = Serviceinfo.Factory.newInstance(); Serviceinfo.Request request = serviceinfo.addNewRequest(); request.setNationalId(nationalIdCode); request.setQueryGrounds(queryGrounds); XRoadMessage<ServiceinfoResponse> response = send(new XmlBeansXRoadMessage<Serviceinfo>(serviceinfo), "serviceinfo", "v1"); return response.getContent(); }
KvkrXTeeServiceImpl extends XRoadDatabaseService implements KvkrXTeeService { public ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds) throws XRoadServiceConsumptionException { Serviceinfo serviceinfo = Serviceinfo.Factory.newInstance(); Serviceinfo.Request request = serviceinfo.addNewRequest(); request.setNationalId(nationalIdCode); request.setQueryGrounds(queryGrounds); XRoadMessage<ServiceinfoResponse> response = send(new XmlBeansXRoadMessage<Serviceinfo>(serviceinfo), "serviceinfo", "v1"); return response.getContent(); } }
KvkrXTeeServiceImpl extends XRoadDatabaseService implements KvkrXTeeService { public ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds) throws XRoadServiceConsumptionException { Serviceinfo serviceinfo = Serviceinfo.Factory.newInstance(); Serviceinfo.Request request = serviceinfo.addNewRequest(); request.setNationalId(nationalIdCode); request.setQueryGrounds(queryGrounds); XRoadMessage<ServiceinfoResponse> response = send(new XmlBeansXRoadMessage<Serviceinfo>(serviceinfo), "serviceinfo", "v1"); return response.getContent(); }  }
KvkrXTeeServiceImpl extends XRoadDatabaseService implements KvkrXTeeService { public ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds) throws XRoadServiceConsumptionException { Serviceinfo serviceinfo = Serviceinfo.Factory.newInstance(); Serviceinfo.Request request = serviceinfo.addNewRequest(); request.setNationalId(nationalIdCode); request.setQueryGrounds(queryGrounds); XRoadMessage<ServiceinfoResponse> response = send(new XmlBeansXRoadMessage<Serviceinfo>(serviceinfo), "serviceinfo", "v1"); return response.getContent(); }  ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds); }
KvkrXTeeServiceImpl extends XRoadDatabaseService implements KvkrXTeeService { public ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds) throws XRoadServiceConsumptionException { Serviceinfo serviceinfo = Serviceinfo.Factory.newInstance(); Serviceinfo.Request request = serviceinfo.addNewRequest(); request.setNationalId(nationalIdCode); request.setQueryGrounds(queryGrounds); XRoadMessage<ServiceinfoResponse> response = send(new XmlBeansXRoadMessage<Serviceinfo>(serviceinfo), "serviceinfo", "v1"); return response.getContent(); }  ServiceinfoResponse getServiceinfoV1(String nationalIdCode, String queryGrounds);  }