Class EvisorWebServiceInvoker
- java.lang.Object
-
- es.gob.afirma.wsServiceInvoker.AbstractWSServiceInvoker
-
- es.gob.afirma.wsServiceInvoker.ws.EvisorWebServiceInvoker
-
public class EvisorWebServiceInvoker extends AbstractWSServiceInvoker
Class that represents the facade used to invoke the web services of @Firma and eVisor.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 26/12/2014.
-
-
Constructor Summary
Constructors Constructor Description EvisorWebServiceInvoker(java.lang.String service)Constructor method for the class EvisorWebServiceInvoker.java.EvisorWebServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient)Constructor method for the class EvisorWebServiceInvoker.java.EvisorWebServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties)Constructor method for the class EvisorWebServiceInvoker.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringinvokeService(java.lang.String methodName, java.lang.Object[] parameters)Method that invokes a web service published by @Firma.-
Methods inherited from class es.gob.afirma.wsServiceInvoker.AbstractWSServiceInvoker
getApplicationName, getService, getServiceInvocationProperties, setServiceInvocationProperties
-
-
-
-
Constructor Detail
-
EvisorWebServiceInvoker
public EvisorWebServiceInvoker(java.lang.String service)
Constructor method for the class EvisorWebServiceInvoker.java.- Parameters:
service- Parameter that represents the name of the web service to invoke.
-
EvisorWebServiceInvoker
public EvisorWebServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties)Constructor method for the class EvisorWebServiceInvoker.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.
-
EvisorWebServiceInvoker
public EvisorWebServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient)Constructor method for the class EvisorWebServiceInvoker.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.
-
-
Method Detail
-
invokeService
public final java.lang.String invokeService(java.lang.String methodName, java.lang.Object[] parameters) throws WSServiceInvokerExceptionMethod that invokes a web service published by @Firma.- Specified by:
invokeServicein classAbstractWSServiceInvoker- Parameters:
methodName- Parameter that represents the name of the methof to invoke.parameters- Parameter that represents the list of inputs.- Returns:
- the result of the invocation on XML format.
- Throws:
WSServiceInvokerException- If the method fails.- See Also:
AbstractWSServiceInvoker.invokeService(java.lang.String, java.lang.Object[])
-
-