|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.technicalconnector.ws.impl.AbstractWsSender
be.ehealth.technicalconnector.ws.impl.GenericWsSenderImpl
public class GenericWsSenderImpl
Implementation of GenericWsSender
Field Summary |
---|
Fields inherited from class be.ehealth.technicalconnector.ws.impl.AbstractWsSender |
---|
MESSAGECONTEXT_ENDPOINT_ADDRESS, PROP_RETRY_STRATEGY |
Constructor Summary | |
---|---|
GenericWsSenderImpl()
|
Method Summary | |
---|---|
Node |
sendCertificateSecured(String url,
Document payload,
X509Certificate certificate,
PrivateKey privateKey)
Send certificate secured. |
Node |
sendCertificateSecured(String url,
Document payload,
X509Certificate certificate,
PrivateKey privateKey,
String soapAction)
Send certificate secured. |
String |
sendCertificateSecured(String url,
String payload,
X509Certificate certificate,
PrivateKey privateKey)
Send certificate secured. |
String |
sendCertificateSecured(String url,
String payload,
X509Certificate certificate,
PrivateKey privateKey,
String soapAction)
Send certificate secured. |
Node |
sendSamlSecured(String url,
Document payload,
Element assertion,
Credential credential)
Send saml secured. |
Node |
sendSamlSecured(String url,
Document payload,
Element assertion,
Credential credential,
String soapAction)
Send saml secured. |
String |
sendSamlSecured(String url,
String payload,
Element assertion,
Credential credential)
Send saml secured. |
String |
sendSamlSecured(String url,
String payload,
Element assertion,
Credential credential,
String soapAction)
Send saml secured. |
Node |
sendUnsecured(String url,
Document payload)
Send unsecured. |
Node |
sendUnsecured(String url,
Document payload,
String soapAction)
Send unsecured. |
String |
sendUnsecured(String url,
String payload)
Send unsecured. |
String |
sendUnsecured(String url,
String payload,
String soapAction)
Send unsecured. |
Methods inherited from class be.ehealth.technicalconnector.ws.impl.AbstractWsSender |
---|
send |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface be.ehealth.technicalconnector.ws.GenericWsSender |
---|
send |
Constructor Detail |
---|
public GenericWsSenderImpl()
Method Detail |
---|
public String sendUnsecured(String url, String payload) throws TechnicalConnectorException
GenericWsSender
sendUnsecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.
TechnicalConnectorException
- When a technical exception occurspublic String sendUnsecured(String url, String payload, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendUnsecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.soapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurspublic Node sendUnsecured(String url, Document payload) throws TechnicalConnectorException
GenericWsSender
sendUnsecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.
TechnicalConnectorException
- When a technical exception occurspublic Node sendUnsecured(String url, Document payload, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendUnsecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.soapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurspublic String sendSamlSecured(String url, String payload, Element assertion, Credential credential) throws TechnicalConnectorException
GenericWsSender
sendSamlSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.assertion
- SAML-token received from STS.credential
- The credential (X509Certificate and PrivateKey) of the Service Certificate used within the request to STS
TechnicalConnectorException
- When a technical exception occurspublic String sendSamlSecured(String url, String payload, Element assertion, Credential credential, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendSamlSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.assertion
- SAML-token received from STS.credential
- The credential (X509Certificate and PrivateKey) of the Service Certificate used within the request to STSsoapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurspublic Node sendSamlSecured(String url, Document payload, Element assertion, Credential credential) throws TechnicalConnectorException
GenericWsSender
sendSamlSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.assertion
- SAML-token received from STS.credential
- The credential (X509Certificate and PrivateKey) of the Service Certificate used within the request to STS
TechnicalConnectorException
- When a technical exception occurspublic Node sendSamlSecured(String url, Document payload, Element assertion, Credential credential, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendSamlSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.assertion
- SAML-token received from STS.credential
- The credential (X509Certificate and PrivateKey) of the Service Certificate used within the request to STSsoapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurspublic String sendCertificateSecured(String url, String payload, X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
GenericWsSender
sendCertificateSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for sealing the request message using the ETEE framework.privateKey
- Private key, linked to the X.509 certificate mentioned above.
TechnicalConnectorException
- When a technical exception occurspublic String sendCertificateSecured(String url, String payload, X509Certificate certificate, PrivateKey privateKey, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendCertificateSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- Business message. XML payload of the SOAP request message containing the business data.certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for sealing the request message using the ETEE framework.privateKey
- Private key, linked to the X.509 certificate mentioned above.soapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurspublic Node sendCertificateSecured(String url, Document payload, X509Certificate certificate, PrivateKey privateKey) throws TechnicalConnectorException
GenericWsSender
sendCertificateSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for sealing the request message using the ETEE framework.privateKey
- Private key, linked to the X.509 certificate mentioned above.
TechnicalConnectorException
- When a technical exception occurspublic Node sendCertificateSecured(String url, Document payload, X509Certificate certificate, PrivateKey privateKey, String soapAction) throws TechnicalConnectorException
GenericWsSender
sendCertificateSecured
in interface GenericWsSender
url
- The endpoint of the targeted web service.payload
- DOM Document containing the actual business data.certificate
- X.509 certificate, that includes the public key, of the organization invoking this service. This certificate is
used for sealing the request message using the ETEE framework.privateKey
- Private key, linked to the X.509 certificate mentioned above.soapAction
- SoapAction as specified in the WSDL.
TechnicalConnectorException
- When a technical exception occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |