be.ehealth.technicalconnector.generic.session.impl
Class GenericServiceImpl
java.lang.Object
be.ehealth.technicalconnector.generic.session.impl.GenericServiceImpl
- All Implemented Interfaces:
- GenericService
public class GenericServiceImpl
- extends Object
- implements GenericService
GenericServiceImpl within a Session.
Implementation of GenericService
Method Summary |
GenericResponse |
send(GenericRequest request)
|
Node |
sendDocument(Document payload,
String endpoint)
|
Node |
sendDocument(Document payload,
String endpoint,
String soapAction)
|
Node |
sendDocument(Document payload,
URL endpoint)
|
Node |
sendDocument(Document payload,
URL endpoint,
String soapAction)
|
String |
sendXML(String payload,
String endpoint)
|
String |
sendXML(String payload,
String endpoint,
String soapAction)
|
String |
sendXML(String payload,
URL endpoint)
|
String |
sendXML(String payload,
URL endpoint,
String soapAction)
|
GenericServiceImpl
public GenericServiceImpl(SessionValidator sessionValidator)
- Parameters:
sessionValidator
-
- Throws:
TechnicalConnectorException
sendXML
public String sendXML(String payload,
URL endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String Response
- Throws:
TechnicalConnectorException
SessionManagementException
sendXML
public String sendXML(String payload,
URL endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String Response
- Throws:
TechnicalConnectorException
SessionManagementException
sendXML
public String sendXML(String payload,
String endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String response
- Throws:
TechnicalConnectorException
SessionManagementException
sendXML
public String sendXML(String payload,
String endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String response
- Throws:
TechnicalConnectorException
SessionManagementException
sendDocument
public Node sendDocument(Document payload,
URL endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
TechnicalConnectorException
SessionManagementException
sendDocument
public Node sendDocument(Document payload,
URL endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
TechnicalConnectorException
SessionManagementException
sendDocument
public Node sendDocument(Document payload,
String endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
TechnicalConnectorException
SessionManagementException
sendDocument
public Node sendDocument(Document payload,
String endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
TechnicalConnectorException
SessionManagementException
send
public GenericResponse send(GenericRequest request)
throws TechnicalConnectorException
- Specified by:
send
in interface GenericService
- Returns:
-
- Throws:
TechnicalConnectorException
Connector Business ORGPHARMACY 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.