Class AbstractTSAServiceInvoker

  • Direct Known Subclasses:
    TSA3WebServiceInvoker

    public abstract class AbstractTSAServiceInvoker
    extends java.lang.Object

    Class that defines the common functionality for all the classes which allow to invoke the web services of TS@.

    Project:

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

    Version:
    1.0, 09/01/2014.
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractTSAServiceInvoker​(java.lang.String serviceParam)
      Constructor method for the class AbstractTSAServiceInvoker.java.
      AbstractTSAServiceInvoker​(java.lang.String serviceParam, java.lang.String applicationNameParam)
      Constructor method for the class AbstractTSAServiceInvoker.java.
      AbstractTSAServiceInvoker​(java.lang.String serviceParam, java.lang.String applicationNameParam, java.lang.String idClient)
      Constructor method for the class AbstractTSAServiceInvoker.java.
      AbstractTSAServiceInvoker​(java.util.Properties serviceInvocationPropertiesParam, java.lang.String serviceParam)
      Constructor method for the class AbstractTSAServiceInvoker.java.
    • Constructor Detail

      • AbstractTSAServiceInvoker

        public AbstractTSAServiceInvoker​(java.lang.String serviceParam)
        Constructor method for the class AbstractTSAServiceInvoker.java.
        Parameters:
        serviceParam - Parameter that represents the name of the service to invoke.
      • AbstractTSAServiceInvoker

        public AbstractTSAServiceInvoker​(java.util.Properties serviceInvocationPropertiesParam,
                                         java.lang.String serviceParam)
        Constructor method for the class AbstractTSAServiceInvoker.java.
        Parameters:
        serviceInvocationPropertiesParam - Parameter that represents the set of configuration parameters of the service to invoke.
        serviceParam - Parameter that represents the name of the service to invoke.
      • AbstractTSAServiceInvoker

        public AbstractTSAServiceInvoker​(java.lang.String serviceParam,
                                         java.lang.String applicationNameParam,
                                         java.lang.String idClient)
        Constructor method for the class AbstractTSAServiceInvoker.java.
        Parameters:
        serviceParam - Parameter that represents the name of the service to invoke.
        applicationNameParam - Parameter that represents the name of the application which invokes the service.
        idClient - Parameter that represents the client application identifier.
      • AbstractTSAServiceInvoker

        public AbstractTSAServiceInvoker​(java.lang.String serviceParam,
                                         java.lang.String applicationNameParam)
        Constructor method for the class AbstractTSAServiceInvoker.java.
        Parameters:
        serviceParam - Parameter that represents the name of the service to invoke.
        applicationNameParam - Parameter that represents the name of the application which invokes the service.
    • Method Detail

      • getGeneralProperties

        public final java.util.Properties getGeneralProperties()
        Gets the value of the attribute generalProperties.
        Returns:
        the value of the attribute generalProperties.
      • invokeService

        public abstract java.lang.String invokeService​(java.lang.Object[] parameters,
                                                       java.lang.String idClient)
                                                throws TSAServiceInvokerException
        Method that invokes a web service published by TS@.
        Parameters:
        parameters - Parameter that represents the list of inputs.
        idClient - client identifier of ws invocation.
        Returns:
        the result of the invocation on XML format.
        Throws:
        TSAServiceInvokerException - if the method fails.
      • getService

        public final java.lang.String getService()
        Gets the value of the attribute service.
        Returns:
        the value of the attribute service.