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 NameTechnicalConnectorExceptionpublic PostResponse postRequest(Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncServiceTAck of the request of an operation and generate the token.postRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionGenAsyncService.postRequest(Post, WsAddressingHeader)public GetResponse getRequest(Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncServiceResponses from the post previously sent and generate the token.getRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionGenAsyncService.getRequest(Get, WsAddressingHeader)public ConfirmResponse confirmRequest(Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException, SessionManagementException
GenAsyncServiceconfirmRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionSessionManagementExceptionGenAsyncService.confirmRequest(Confirm, WsAddressingHeader)
Connector Packaging generic 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.