Class WsTransactionConfiguration<T extends WsAuditDataset>
java.lang.Object
org.openehealth.ipf.commons.ihe.core.TransactionConfiguration<T>
org.openehealth.ipf.commons.ihe.ws.WsTransactionConfiguration<T>
- Direct Known Subclasses:
Hl7v3WsTransactionConfiguration
public class WsTransactionConfiguration<T extends WsAuditDataset>
extends TransactionConfiguration<T>
Contains information about a Web Service-based transaction.
All parameters are static, i. e. do not depend on the endpoint configuration.
-
Constructor Summary
ConstructorDescriptionWsTransactionConfiguration
(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, QName serviceName, Class<?> sei, QName bindingName, boolean mtom, String wsdlLocation, boolean addressing, boolean swaOutSupport, boolean auditRequestPayload, boolean allowAsynchrony) Constructs the transaction configuration. -
Method Summary
Methods inherited from class org.openehealth.ipf.commons.ihe.core.TransactionConfiguration
getClientAuditStrategy, getDescription, getName, getServerAuditStrategy, isQuery, isStrict, setStrict
-
Constructor Details
-
WsTransactionConfiguration
public WsTransactionConfiguration(String name, String description, boolean isQuery, AuditStrategy<T> clientAuditStrategy, AuditStrategy<T> serverAuditStrategy, QName serviceName, Class<?> sei, QName bindingName, boolean mtom, String wsdlLocation, boolean addressing, boolean swaOutSupport, boolean auditRequestPayload, boolean allowAsynchrony) Constructs the transaction configuration.- Parameters:
name
- name of the transaction.description
- human-readable description of the transaction.isQuery
-true
if this transaction describes a query,false
otherwise.clientAuditStrategy
-AuditStrategy
to be used on client side to accomplish ATNA audit.serverAuditStrategy
-AuditStrategy
to be used on server side to accomplish ATNA audit.serviceName
- the qualified name of the service.sei
- service endpoint interface.bindingName
- the qualified name of the binding to use.mtom
-true
if this service requires MTOM.wsdlLocation
- the location of the WSDL of this webservice.addressing
-true
if this service requires WS-Addressing.swaOutSupport
-true
if this service requires SwA for its output.auditRequestPayload
-true
if this service must save payload in audit record.allowAsynchrony
-true
if service producers should be allowed to request asynchronous responses via WS-Addressing <ReplyTo> header. (obviously does not make any sense whenaddressing==false
).
-
-
Method Details
-
getBindingName
- Returns:
- the qualified name of the WSDL binding to use.
-
getServiceName
- Returns:
- the qualified name of the WSDL service.
-
getSei
- Returns:
- the class of the service interface.
-
isMtom
public boolean isMtom()- Returns:
true
if this service requires MTOM.
-
getWsdlLocation
- Returns:
- location of the WSDL document.
-
isAddressing
public boolean isAddressing()Whether WS-Addressing should be supported. Currently affects only the client side (i.e. the Camel producer).- Returns:
true
if this service requires WS-Addressing.
-
isSwaOutSupport
public boolean isSwaOutSupport()- Returns:
true
if this service requires SwA for its output.
-
isAuditRequestPayload
public boolean isAuditRequestPayload()- Returns:
true
if this service must save payload in audit record.
-
isAllowAsynchrony
public boolean isAllowAsynchrony()- Returns:
true
if service producers sre allowed to request asynchronous responses via WS-Addressing <ReplyTo> header.
-