@Test public void findIssuedDocument() throws XRoadServiceConsumptionException { IssuedDocumentQueryDTO request = IssuedDocumentQueryDTO.Factory.newInstance(); fillRequest(request); request.setNumber("1234567"); checkAnswer(esisXTeeServiceImpl.findIssuedDocument(request)); }
public IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<IssuedDocumentResultDTO> response = send(new XmlBeansXRoadMessage<IssuedDocumentQueryDTO>(request), QUERY_ISSUEDDOCUMENT); return response.getContent(); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<IssuedDocumentResultDTO> response = send(new XmlBeansXRoadMessage<IssuedDocumentQueryDTO>(request), QUERY_ISSUEDDOCUMENT); return response.getContent(); } }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<IssuedDocumentResultDTO> response = send(new XmlBeansXRoadMessage<IssuedDocumentQueryDTO>(request), QUERY_ISSUEDDOCUMENT); return response.getContent(); }  }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<IssuedDocumentResultDTO> response = send(new XmlBeansXRoadMessage<IssuedDocumentQueryDTO>(request), QUERY_ISSUEDDOCUMENT); return response.getContent(); }  VehicleResultDTO findVehicle(VehicleQueryDTO request); PersonResultDTO findPerson(PersonQueryDTO request); FirearmResultDTO findFirearm(FirearmQueryDTO request); BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request); IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request); BanknoteResultDTO findBanknote(BanknoteQueryDTO request); }
EsisXTeeServiceImpl extends XRoadDatabaseService implements EsisXTeeService { public IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request) throws XRoadServiceConsumptionException { XRoadMessage<IssuedDocumentResultDTO> response = send(new XmlBeansXRoadMessage<IssuedDocumentQueryDTO>(request), QUERY_ISSUEDDOCUMENT); return response.getContent(); }  VehicleResultDTO findVehicle(VehicleQueryDTO request); PersonResultDTO findPerson(PersonQueryDTO request); FirearmResultDTO findFirearm(FirearmQueryDTO request); BlankDocumentResultDTO findBlankDocument(BlankDocumentQueryDTO request); IssuedDocumentResultDTO findIssuedDocument(IssuedDocumentQueryDTO request); BanknoteResultDTO findBanknote(BanknoteQueryDTO request);  }