Class TSAServiceInvokerFacade


  • public final class TSAServiceInvokerFacade
    extends java.lang.Object

    Class that represents the facade to invoke the web services of TS@.

    Project:

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TSAServiceInvokerFacade getInstance()
      Method that obtains the unique instance of the class.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String applicationName)
      Method that invokes a web service of TS@.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String applicationName, java.lang.String idClient)
      Method that invokes a web service of TS@.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static TSAServiceInvokerFacade getInstance()
        Method that obtains the unique instance of the class.
        Returns:
        the unique instance of the class.
      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String applicationName)
                                       throws TSAServiceInvokerException
        Method that invokes a web service of TS@.
        Parameters:
        xmlInput - Parameter that represents the input parameters of the web service.
        service - Parameter that represents the name of the web service.
        applicationName - Parameter that represents the name of the client application.
        Returns:
        the result of the invocation of the service on XML format.
        Throws:
        TSAServiceInvokerException - if the method fails.
      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String applicationName,
                                              java.lang.String idClient)
                                       throws TSAServiceInvokerException
        Method that invokes a web service of TS@.
        Parameters:
        xmlInput - Parameter that represents the input parameters of the web service.
        service - Parameter that represents the name of the web service.
        applicationName - Parameter that represents the name of the client application.
        idClient - client identifier of ws invocation.
        Returns:
        the result of the invocation of the service on XML format.
        Throws:
        TSAServiceInvokerException - if the method fails.