Search in sources :

Example 16 with ResultType

use of se.riv.clinicalprocess.healthcond.certificate.v3.ResultType in project webcert by sklintyg.

the class MockSendCertificateServiceClientImpl method createResponse.

private SendCertificateToRecipientResponseType createResponse(ResultCodeType resultCodeType, ErrorIdType errorType) {
    ResultType resultType = new ResultType();
    resultType.setResultCode(resultCodeType);
    if (errorType != null) {
        resultType.setErrorId(errorType);
    }
    SendCertificateToRecipientResponseType responseType = new SendCertificateToRecipientResponseType();
    responseType.setResult(resultType);
    return responseType;
}
Also used : SendCertificateToRecipientResponseType(se.riv.clinicalprocess.healthcond.certificate.sendCertificateToRecipient.v2.SendCertificateToRecipientResponseType) ResultType(se.riv.clinicalprocess.healthcond.certificate.v3.ResultType)

Aggregations

ResultType (se.riv.clinicalprocess.healthcond.certificate.v3.ResultType)12 PermanentException (se.inera.intyg.webcert.common.sender.exception.PermanentException)4 TemporaryException (se.inera.intyg.webcert.common.sender.exception.TemporaryException)4 SendCertificateToRecipientResponseType (se.riv.clinicalprocess.healthcond.certificate.sendCertificateToRecipient.v2.SendCertificateToRecipientResponseType)4 CertificateStatusUpdateForCareResponseType (se.riv.clinicalprocess.healthcond.certificate.certificatestatusupdateforcareresponder.v3.CertificateStatusUpdateForCareResponseType)3 ResultType (se.riv.clinicalprocess.healthcond.certificate.v1.ResultType)3 WebServiceException (javax.xml.ws.WebServiceException)2 CreateDraftCertificateResponseType (se.riv.clinicalprocess.healthcond.certificate.createdraftcertificateresponder.v1.CreateDraftCertificateResponseType)2 CreateDraftCertificateResponseType (se.riv.clinicalprocess.healthcond.certificate.createdraftcertificateresponder.v3.CreateDraftCertificateResponseType)2 ArrayList (java.util.ArrayList)1 JAXBException (javax.xml.bind.JAXBException)1 QName (javax.xml.namespace.QName)1 ElementSetType (net.opengis.cat.csw.v_2_0_2.ElementSetType)1 GetRecordsType (net.opengis.cat.csw.v_2_0_2.GetRecordsType)1 ResultType (net.opengis.cat.csw.v_2_0_2.ResultType)1 CswRecordCollection (org.codice.ddf.spatial.ogc.csw.catalog.common.CswRecordCollection)1 CertificateHolder (se.inera.intyg.common.support.modules.support.api.CertificateHolder)1 CertificateStateHolder (se.inera.intyg.common.support.modules.support.api.CertificateStateHolder)1 WebCertServiceException (se.inera.intyg.webcert.common.service.exception.WebCertServiceException)1 StubLatencyAware (se.inera.intyg.webcert.intygstjanststub.mode.StubLatencyAware)1