Class AbstractHl7v3WebService
java.lang.Object
org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
org.openehealth.ipf.platform.camel.ihe.hl7v3.AbstractHl7v3WebService
- Direct Known Subclasses:
Hl7v3ContinuationAwareWebService,Iti44Service,Iti45Service,Iti46Service,Iti47Service,Iti55Service,Pcc1Service
Generic Web Service implementation for HL7 v3-based transactions.
- Author:
- Dmytro Rud
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractHl7v3WebService(Hl7v3InteractionId<? extends Hl7v3WsTransactionConfiguration> hl7v3InteractionId) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateNak(GPathResult request, Throwable throwable) Creates a transaction-specific NAK message.protected StringCreates a transaction-specific NAK message.protected StringThe proper message processing method.protected voidfinalizeAtnaAuditing(Object response, Hl7v3AuditStrategy auditStrategy, AuditContext auditContext, Hl7v3AuditDataset auditDataset) protected Hl7v3AuditDatasetstartAtnaAuditing(String requestString, Hl7v3AuditStrategy auditStrategy) Methods inherited from class org.openehealth.ipf.platform.camel.ihe.ws.AbstractWebService
getConsumer, process, process, setConsumer
-
Constructor Details
-
AbstractHl7v3WebService
public AbstractHl7v3WebService(Hl7v3InteractionId<? extends Hl7v3WsTransactionConfiguration> hl7v3InteractionId)
-
-
Method Details
-
doProcess
The proper message processing method.- Parameters:
requestString- XML payload of the HL7 v3 request message.- Returns:
- XML payload of the HL7 v3 response message or an automatically generated NAK.
-
createNak
Creates a transaction-specific NAK message. -
createNak
Creates a transaction-specific NAK message. -
getWsTransactionConfiguration
-
startAtnaAuditing
protected Hl7v3AuditDataset startAtnaAuditing(String requestString, Hl7v3AuditStrategy auditStrategy) -
finalizeAtnaAuditing
protected void finalizeAtnaAuditing(Object response, Hl7v3AuditStrategy auditStrategy, AuditContext auditContext, Hl7v3AuditDataset auditDataset)
-