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
ConstructorsConstructorDescriptionWsTransactionConfiguration(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-trueif this transaction describes a query,falseotherwise.clientAuditStrategy-AuditStrategyto be used on client side to accomplish ATNA audit.serverAuditStrategy-AuditStrategyto 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-trueif this service requires MTOM.wsdlLocation- the location of the WSDL of this webservice.addressing-trueif this service requires WS-Addressing.swaOutSupport-trueif this service requires SwA for its output.auditRequestPayload-trueif this service must save payload in audit record.allowAsynchrony-trueif 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:
 trueif 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:
 trueif this service requires WS-Addressing.
 - 
isSwaOutSupport
public boolean isSwaOutSupport()- Returns:
 trueif this service requires SwA for its output.
 - 
isAuditRequestPayload
public boolean isAuditRequestPayload()- Returns:
 trueif this service must save payload in audit record.
 - 
isAllowAsynchrony
public boolean isAllowAsynchrony()- Returns:
 trueif service producers sre allowed to request asynchronous responses via WS-Addressing <ReplyTo> header.
 
 -