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
BusinessConnectorException
sendXML
public String sendXML(String payload,
URL endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String Response
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendXML(java.lang.String, java.net.URL)
sendXML
public String sendXML(String payload,
URL endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String Response
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendXML(java.lang.String, java.net.URL,java.lang.String)
sendXML
public String sendXML(String payload,
String endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String response
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendXML(java.lang.String, java.lang.String,java.lang.String)
sendXML
public String sendXML(String payload,
String endpoint,
String soapAction)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendXML
in interface GenericService
- Returns:
- String response
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendXML(java.lang.String, java.lang.String,java.lang.String)
sendDocument
public Node sendDocument(Document payload,
URL endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendDocument(org.w3c.dom.Document, java.net.URL)
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:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendDocument(org.w3c.dom.Document, java.net.URL,java.lang.String)
sendDocument
public Node sendDocument(Document payload,
String endpoint)
throws TechnicalConnectorException,
SessionManagementException
- Specified by:
sendDocument
in interface GenericService
- Returns:
- Node of the result
- Throws:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendDocument(org.w3c.dom.Document, java.lang.String)
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:
SessionManagementException
TechnicalConnectorException
- See Also:
GenericService.sendDocument(org.w3c.dom.Document, java.lang.String,
java.lang.String)
send
public GenericResponse send(GenericRequest request)
throws TechnicalConnectorException
- Specified by:
send
in interface GenericService
- Returns:
-
- Throws:
TechnicalConnectorException
- See Also:
GenericService.send(be.ehealth.technicalconnector.ws.domain.GenericRequest)
Connector Business ORGPHARMACY 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.