Class TSA3WebServiceInvoker
- java.lang.Object
-
- es.gob.afirma.tsaServiceInvoker.AbstractTSAServiceInvoker
-
- es.gob.afirma.tsaServiceInvoker.ws.TSA3WebServiceInvoker
-
public class TSA3WebServiceInvoker extends AbstractTSAServiceInvoker
Class that represents the facade used to invoke the web services of TS@ version 3.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 15/01/2014.
-
-
Constructor Summary
Constructors Constructor Description TSA3WebServiceInvoker(java.lang.String service)Constructor method for the class TSA3WebServiceInvoker.java.TSA3WebServiceInvoker(java.lang.String applicationName, java.lang.String service)Constructor method for the class TSA3WebServiceInvoker.java.TSA3WebServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient)Constructor method for the class TSA3WebServiceInvoker.java.TSA3WebServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties)Constructor method for the class TSA3WebServiceInvoker.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringinvokeService(java.lang.Object[] parameters, java.lang.String idClient)Method that invokes a web service published by TS@.-
Methods inherited from class es.gob.afirma.tsaServiceInvoker.AbstractTSAServiceInvoker
getGeneralProperties, getService, getServiceInvocationProperties
-
-
-
-
Constructor Detail
-
TSA3WebServiceInvoker
public TSA3WebServiceInvoker(java.lang.String service)
Constructor method for the class TSA3WebServiceInvoker.java.- Parameters:
service- Parameter that represents the name of the web service to invoke.
-
TSA3WebServiceInvoker
public TSA3WebServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties)Constructor method for the class TSA3WebServiceInvoker.java.- Parameters:
service- Parameter that represents the name of the web service to invoke.serviceInvocationProperties- Parameter that represents the set of properties related to the web service to invoke.
-
TSA3WebServiceInvoker
public TSA3WebServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient)Constructor method for the class TSA3WebServiceInvoker.java.- Parameters:
applicationName- Parameter that represents the name of application which invokes the web service.service- Parameter that represents the name of the web service to invoke.idClient- Parameter that represents the client application identifier.
-
TSA3WebServiceInvoker
public TSA3WebServiceInvoker(java.lang.String applicationName, java.lang.String service)Constructor method for the class TSA3WebServiceInvoker.java.- Parameters:
applicationName- Parameter that represents the name of application which invokes the web service.service- Parameter that represents the name of the web service to invoke.
-
-
Method Detail
-
invokeService
public final java.lang.String invokeService(java.lang.Object[] parameters, java.lang.String idClient) throws TSAServiceInvokerExceptionMethod that invokes a web service published by TS@.- Specified by:
invokeServicein classAbstractTSAServiceInvoker- 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.- See Also:
AbstractTSAServiceInvoker.invokeService(Object[], String)
-
-