public class DmgServiceImpl extends Object implements DmgService
DmgService| Constructor and Description |
|---|
DmgServiceImpl(SessionValidator sessionValidator,
EhealthReplyValidator replyValidator)
Instantiates a new Dmg service impl.
|
| Modifier and Type | Method and Description |
|---|---|
ConfirmResponse |
confirmRequest(Confirm request,
WsAddressingHeader header)
Sends a Confirm request after a successful Get It only needs the SAMLtoken, no session needs to be active
|
ConsultGlobalMedicalFileResponse |
consultGlobalMedicalFile(ConsultGlobalMedicalFileRequest request)
Sends the consultation request to the WS (needs a Session to be active, token is retrieved from the session)
|
GetResponse |
getRequest(Get request,
WsAddressingHeader header)
Returns the
Responses from the post previously sent. |
NotifyGlobalMedicalFileResponse |
notifyGlobalMedicalFile(NotifyGlobalMedicalFileRequest request)
Sends the notification request to the WS (needs a Session to be active, token is retrieved from the session)
|
PostResponse |
postRequest(Post request,
WsAddressingHeader header)
Returns the
TAck of the request of an operation. |
public DmgServiceImpl(SessionValidator sessionValidator, EhealthReplyValidator replyValidator) throws TechnicalConnectorException
sessionValidator - the sessionValidatorreplyValidator - the replyValidatorTechnicalConnectorExceptionpublic ConsultGlobalMedicalFileResponse consultGlobalMedicalFile(ConsultGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgServiceconsultGlobalMedicalFile in interface DmgServicerequest - the consultation requestDmgBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionbe.ehealth.businessconnector.dmg.session.DmgService#consultGlobalMedicalFile(be.fgov.ehealth.globalmedicalfile.protocol.v1.SendRequestType)public NotifyGlobalMedicalFileResponse notifyGlobalMedicalFile(NotifyGlobalMedicalFileRequest request) throws DmgBusinessConnectorException, TechnicalConnectorException, SessionManagementException
DmgServicenotifyGlobalMedicalFile in interface DmgServicerequest - the notification requestDmgBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionbe.ehealth.businessconnector.dmg.session.DmgService#notifyGlobalMedicalFile(be.fgov.ehealth.globalmedicalfile.protocol.v1.SendRequestType)public ConfirmResponse confirmRequest(Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgServiceconfirmRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic GetResponse getRequest(Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
DmgServiceResponses from the post previously sent. It only needs the SamlToken, no session needs to be active.getRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic PostResponse postRequest(Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException
DmgServiceTAck of the request of an operation. It only needs the SamlToken, no session needs to be active.postRequest in interface DmgServicerequest - the requestGenAsyncBusinessConnectorException
Connector Packaging generic 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.