Class EvisorServiceInvokerFacade


  • public final class EvisorServiceInvokerFacade
    extends java.lang.Object

    Class that represents the facade for the invocation of the web services of eVisor.

    Project:

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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static EvisorServiceInvokerFacade getInstance()
      Gets a class instance.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String method, java.lang.String applicationName)
      Invokes a eVisor service.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String method, java.lang.String applicationName, java.lang.String idClient)
      Invokes a eVisor service.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String method, java.util.Properties serviceProperties)
      Invokes a eVisor service, it sets a collections of properties aren't in the configuration file of component.
      java.lang.String invokeService​(java.lang.String xmlInput, java.lang.String service, java.lang.String method, java.util.Properties serviceProperties, java.lang.String idClient)
      Invokes a eVisor service, it sets a collections of properties aren't in the configuration file of component.
      • Methods inherited from class java.lang.Object

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

      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String method,
                                              java.lang.String applicationName,
                                              java.lang.String idClient)
                                       throws WSServiceInvokerException
        Invokes a eVisor service.
        Parameters:
        xmlInput - input parameter of published eVisor services.
        service - service name to invoke.
        method - method name of invoked service.
        applicationName - customer application name.
        idClient - client identifier of ws invocation.
        Returns:
        String with xml format with invocation service result.
        Throws:
        WSServiceInvokerException - if an error happens (connection, not avalaible service, not valid input parameters)
      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String method,
                                              java.lang.String applicationName)
                                       throws WSServiceInvokerException
        Invokes a eVisor service.
        Parameters:
        xmlInput - input parameter of published eVisor services.
        service - service name to invoke.
        method - method name of invoked service.
        applicationName - customer application name.
        Returns:
        String with xml format with invocation service result.
        Throws:
        WSServiceInvokerException - if an error happens (connection, not avalaible service, not valid input parameters)
      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String method,
                                              java.util.Properties serviceProperties,
                                              java.lang.String idClient)
                                       throws WSServiceInvokerException
        Invokes a eVisor service, it sets a collections of properties aren't in the configuration file of component.
        Parameters:
        xmlInput - input parameter of published eVisor services.
        service - service name to invoke.
        method - method name of invoked service.
        serviceProperties - collection of configuration settings to invoke service.
        idClient - client identifier of ws invocation.
        Returns:
        String with xml format with invocation service result.
        Throws:
        WSServiceInvokerException - if an error happens (connection, not avalaible service, not valid input parameters)
      • invokeService

        public java.lang.String invokeService​(java.lang.String xmlInput,
                                              java.lang.String service,
                                              java.lang.String method,
                                              java.util.Properties serviceProperties)
                                       throws WSServiceInvokerException
        Invokes a eVisor service, it sets a collections of properties aren't in the configuration file of component.
        Parameters:
        xmlInput - input parameter of published eVisor services.
        service - service name to invoke.
        method - method name of invoked service.
        serviceProperties - collection of configuration settings to invoke service.
        Returns:
        String with xml format with invocation service result.
        Throws:
        WSServiceInvokerException - if an error happens (connection, not avalaible service, not valid input parameters)