Class Afirma5ServiceInvokerFactory


  • public final class Afirma5ServiceInvokerFactory
    extends java.lang.Object

    Class that represents a factory to invoke web services published by @Firma and eVisor.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.1, 18/04/2022.
    • Method Detail

      • getAfirma5ServiceInvoker

        public static AbstractWSServiceInvoker getAfirma5ServiceInvoker​(java.lang.String service)
                                                                 throws WSServiceInvokerException
        Method that obtains the class used to invoke a @Firma or eVisor web service.
        Parameters:
        service - Parameter that represents the name of the web service.
        Returns:
        the class used to invoke a @Firma or eVisor web service.
        Throws:
        WSServiceInvokerException - if the method fails.
      • getAfirma5ServiceInvoker

        public static AbstractWSServiceInvoker getAfirma5ServiceInvoker​(java.lang.String service,
                                                                        java.util.Properties serviceInvocationProperties)
                                                                 throws WSServiceInvokerException
        Method that obtains the class used to invoke a @Firma or eVisor web service.
        Parameters:
        service - Parameter that represents the name of the web service.
        serviceInvocationProperties - Set of properties defined to invoke the web service.
        Returns:
        the class used to invoke a @Firma or eVisor web service.
        Throws:
        WSServiceInvokerException - if the method fails.
      • getAfirma5ServiceInvoker

        public static AbstractWSServiceInvoker getAfirma5ServiceInvoker​(java.lang.String applicationName,
                                                                        java.lang.String service,
                                                                        java.lang.String idClient)
                                                                 throws WSServiceInvokerException
        Method that obtains the class used to invoke a @Firma or eVisor web service.
        Parameters:
        applicationName - Parameter that represents the name of the client application.
        service - Parameter that represents the name of the web service.
        idClient - Parameter that represents the client application identifier.
        Returns:
        the class used to invoke a @Firma or eVisor web service.
        Throws:
        WSServiceInvokerException - if the method fails.