Class GenericWebserviceCaller
- java.lang.Object
-
- be.business.connector.core.services.GenericWebserviceCaller
-
public abstract class GenericWebserviceCaller extends Object
The Class GenericWebserviceCaller.
-
-
Constructor Summary
Constructors Constructor Description GenericWebserviceCaller()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TcallGenericWebservice(GenericWebserviceRequest genericWebserviceRequest, Class<T> responseType)static <T> TcallGenericWebservice(GenericWebserviceRequest genericWebserviceRequest, Class<T> responseType, Element samlAssertions, be.ehealth.technicalconnector.service.sts.security.impl.KeyPairCredential keyPairCredential)static <T> TcallGenericWebservice(Object request, Class<?> requestType, Class<T> responseType, String endpoint, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler)Call generic webservice.static <T> TcallGenericWebservice(Object request, Class<T> responseType, String endpointName, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler, String soapAction)Call generic webservice.static <T> TcallGenericWebservice(Object request, Class<T> responseType, String endpointName, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler, String soapAction, Element samlAssertions, be.ehealth.technicalconnector.service.sts.security.impl.KeyPairCredential keyPairCredential)
-
-
-
Method Detail
-
callGenericWebservice
public static <T> T callGenericWebservice(Object request, Class<?> requestType, Class<T> responseType, String endpoint, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler) throws IntegrationModuleException
Call generic webservice.- Type Parameters:
T- the generic type- Parameters:
request- the requestresponseType- the response typeserviceName- the service nameaddLoggingHandler- the add logging handleraddSoapFaultHandler- the add soap fault handleraddMustUnderstandHandler- the add must understand handleraddInsurabilityHandler- the add insurability handler- Returns:
- the t
- Throws:
IntegrationModuleException- the integration module exception
-
callGenericWebservice
public static <T> T callGenericWebservice(Object request, Class<T> responseType, String endpointName, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler, String soapAction)
Call generic webservice.- Type Parameters:
T- the generic type- Parameters:
request- the requestresponseType- the response typeendpointName- the endpoint nameserviceName- the service nameaddLoggingHandler- the add logging handleraddSoapFaultHandler- the add soap fault handleraddMustUnderstandHandler- the add must understand handleraddInsurabilityHandler- the add insurability handlersoapAction- the soap action- Returns:
- the t
-
callGenericWebservice
public static <T> T callGenericWebservice(Object request, Class<T> responseType, String endpointName, String serviceName, boolean addLoggingHandler, boolean addSoapFaultHandler, boolean addMustUnderstandHandler, boolean addInsurabilityHandler, String soapAction, Element samlAssertions, be.ehealth.technicalconnector.service.sts.security.impl.KeyPairCredential keyPairCredential)
-
callGenericWebservice
public static <T> T callGenericWebservice(GenericWebserviceRequest genericWebserviceRequest, Class<T> responseType) throws IntegrationModuleException
- Throws:
IntegrationModuleException
-
callGenericWebservice
public static <T> T callGenericWebservice(GenericWebserviceRequest genericWebserviceRequest, Class<T> responseType, Element samlAssertions, be.ehealth.technicalconnector.service.sts.security.impl.KeyPairCredential keyPairCredential) throws IntegrationModuleException
- Throws:
IntegrationModuleException
-
-