Package es.gob.afirma.wsServiceInvoker
Class EvisorServiceInvokerFacade
- java.lang.Object
-
- es.gob.afirma.wsServiceInvoker.EvisorServiceInvokerFacade
-
public final class EvisorServiceInvokerFacade extends java.lang.ObjectClass 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 EvisorServiceInvokerFacadegetInstance()Gets a class instance.java.lang.StringinvokeService(java.lang.String xmlInput, java.lang.String service, java.lang.String method, java.lang.String applicationName)Invokes a eVisor service.java.lang.StringinvokeService(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.StringinvokeService(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.StringinvokeService(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.
-
-
-
Method Detail
-
getInstance
public static EvisorServiceInvokerFacade getInstance()
Gets a class instance.- Returns:
- a class instance.
-
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 WSServiceInvokerExceptionInvokes 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 WSServiceInvokerExceptionInvokes 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 WSServiceInvokerExceptionInvokes 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 WSServiceInvokerExceptionInvokes 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)
-
-