Class GenericWebserviceCaller


  • public abstract class GenericWebserviceCaller
    extends Object
    The Class GenericWebserviceCaller.
    • Constructor Detail

      • GenericWebserviceCaller

        public GenericWebserviceCaller()
    • 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 request
        responseType - the response type
        serviceName - the service name
        addLoggingHandler - the add logging handler
        addSoapFaultHandler - the add soap fault handler
        addMustUnderstandHandler - the add must understand handler
        addInsurabilityHandler - 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 request
        responseType - the response type
        endpointName - the endpoint name
        serviceName - the service name
        addLoggingHandler - the add logging handler
        addSoapFaultHandler - the add soap fault handler
        addMustUnderstandHandler - the add must understand handler
        addInsurabilityHandler - the add insurability handler
        soapAction - 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)