public class TSAWebServiceInvoker
extends java.lang.Object
Class that manages the invoke of TS@ web services.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Modifier and Type | Field and Description |
|---|---|
static int |
VALIDATION_MODE_RENEW_TIMESTAMP_COMPLETE
Constant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@.
|
static int |
VALIDATION_MODE_RENEW_TIMESTAMP_NONE
Constant attribute that identifies the validation mode NONE of the time-stamp to send to renew time-stamp service of the TS@.
|
static int |
VALIDATION_MODE_RENEW_TIMESTAMP_SIMPLE
Constant attribute that identifies the validation mode SIMPLE of the time-stamp to send to renew time-stamp service of the TS@.
|
| Constructor and Description |
|---|
TSAWebServiceInvoker(java.util.Properties propertiesParam,
java.util.Properties generalPropertiesParam)
Constructor method for the class TSAWebServiceInvoker.java.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
performCall(java.lang.String serviceName,
java.lang.Object[] params,
java.lang.String idClient)
Method that performs the invocation to a method form TS@ web services.
|
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_NONE
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_SIMPLE
public static final int VALIDATION_MODE_RENEW_TIMESTAMP_COMPLETE
public TSAWebServiceInvoker(java.util.Properties propertiesParam,
java.util.Properties generalPropertiesParam)
propertiesParam - Parameter that represents the properties defined on the configuration file.generalPropertiesParam - Parameter that represents the general properties of Integr@.public final java.lang.Object performCall(java.lang.String serviceName,
java.lang.Object[] params,
java.lang.String idClient)
throws TSAServiceInvokerException
serviceName - Parameter that represents the name of the service to invoke.params - List of parameters related to the method to invoke.idClient - client identifier of WS invocation.TSAServiceInvokerException - If the method fails.