public class GenAsyncServiceImpl extends Object implements GenAsyncService
GenAsyncService
Constructor and Description |
---|
GenAsyncServiceImpl(SessionValidator sessionValidator,
String serviceName)
Instantiates a new Generic Async service
|
Modifier and Type | Method and Description |
---|---|
ConfirmResponse |
confirmRequest(Confirm request,
WsAddressingHeader header)
Sends a confirm request to the WS.
|
GetResponse |
getRequest(Get request,
WsAddressingHeader header)
Returns the
Responses from the post previously sent and generate the token. |
PostResponse |
postRequest(Post request,
WsAddressingHeader header)
Returns the
TAck of the request of an operation and generate the token. |
public GenAsyncServiceImpl(SessionValidator sessionValidator, String serviceName) throws TechnicalConnectorException
sessionValidator
- the session validatorserviceName
- the service NameTechnicalConnectorException
public PostResponse postRequest(Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncService
TAck
of the request of an operation and generate the token.postRequest
in interface GenAsyncService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
SessionManagementException
GenAsyncService.postRequest(Post, WsAddressingHeader)
public GetResponse getRequest(Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncService
Responses
from the post previously sent and generate the token.getRequest
in interface GenAsyncService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
SessionManagementException
GenAsyncService.getRequest(Get, WsAddressingHeader)
public ConfirmResponse confirmRequest(Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncService
confirmRequest
in interface GenAsyncService
request
- the requestGenAsyncBusinessConnectorException
TechnicalConnectorException
SessionManagementException
GenAsyncService.confirmRequest(Confirm, WsAddressingHeader)
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.