Package es.gob.afirma.tsaServiceInvoker
Class TSAServiceInvokerFacade
- java.lang.Object
-
- es.gob.afirma.tsaServiceInvoker.TSAServiceInvokerFacade
-
public final class TSAServiceInvokerFacade extends java.lang.ObjectClass 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 TSAServiceInvokerFacadegetInstance()Method that obtains the unique instance of the class.java.lang.StringinvokeService(java.lang.String xmlInput, java.lang.String service, java.lang.String applicationName)Method that invokes a web service of TS@.java.lang.StringinvokeService(java.lang.String xmlInput, java.lang.String service, java.lang.String applicationName, java.lang.String idClient)Method that invokes a web service of TS@.
-
-
-
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 TSAServiceInvokerExceptionMethod 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 TSAServiceInvokerExceptionMethod 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.
-
-