public class GenAsyncServiceImpl extends Object implements GenAsyncService, ConfigurationModuleBootstrap.ModuleBootstrapHook, ConfigurableImplementation
GenAsyncService interface| Modifier and Type | Field and Description |
|---|---|
static String |
GENASYNC_XSD_V1 |
static String |
GENASYNC_XSD_V1_3 |
static String |
SERVICE_NAME
Initialize parameter for
ConfigurableImplementation Object: String Required: true |
static String |
SESSION_VALIDATOR
Initialize parameter for
ConfigurableImplementation Object: SessionValidator Required: true |
| Constructor and Description |
|---|
GenAsyncServiceImpl()
only to be used by ServiceFactory.
|
GenAsyncServiceImpl(SessionValidator sessionValidator,
String serviceName)
Deprecated.
use be.ehealth.businessconnector.genericasync.service.ServiceFactory.getGenAsyncService(servicename,sessionvalidator) instead.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
ConfirmResponse |
confirmRequest(SAMLToken token,
Confirm request,
WsAddressingHeader header)
Sends a Confirm request after a successful Get It only needs the SAMLtoken, no session needs to be active
|
GetResponse |
getRequest(SAMLToken token,
Get request,
WsAddressingHeader header)
Returns the
Responses from the post previously sent. |
void |
initialize(Map<String,Object> parameterMap)
initializes the implementation with additional parameters.
|
PostResponse |
postRequest(SAMLToken token,
Post request,
WsAddressingHeader header)
Returns the
TAck of the request of an operation. |
public static final String SERVICE_NAME
ConfigurableImplementation Object: String Required: truepublic static final String SESSION_VALIDATOR
ConfigurableImplementation Object: SessionValidator Required: truepublic static final String GENASYNC_XSD_V1_3
public static final String GENASYNC_XSD_V1
public GenAsyncServiceImpl()
@Deprecated public GenAsyncServiceImpl(SessionValidator sessionValidator, String serviceName)
sessionValidator - serviceName - public PostResponse postRequest(SAMLToken token, Post request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException
GenAsyncServiceTAck of the request of an operation. It only needs the SamlToken, no session needs to be
active.postRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionpublic GetResponse getRequest(SAMLToken token, Get request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
GenAsyncServiceResponses from the post previously sent. It only needs the SamlToken, no session needs
to be active.getRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic ConfirmResponse confirmRequest(SAMLToken token, Confirm request, WsAddressingHeader header) throws GenAsyncBusinessConnectorException, TechnicalConnectorException
GenAsyncServiceconfirmRequest in interface GenAsyncServicerequest - the requestGenAsyncBusinessConnectorExceptionTechnicalConnectorExceptionpublic void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHookpublic void initialize(Map<String,Object> parameterMap) throws TechnicalConnectorException
ConfigurableImplementationinitialize in interface ConfigurableImplementationparameterMap - Map with for each propertyString ,the input parameter as Object.TechnicalConnectorException - if the parameterMap is not correct.
Connector Packaging generic 4.0.2 API
Copyright © {inceptionYear}-2021 eHealth. All Rights Reserved.