Package es.gob.afirma.wsServiceInvoker
Class Afirma5ServiceInvokerFactory
- java.lang.Object
-
- es.gob.afirma.wsServiceInvoker.Afirma5ServiceInvokerFactory
-
public final class Afirma5ServiceInvokerFactory extends java.lang.ObjectClass that represents a factory to invoke web services published by @Firma and eVisor.
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 Concrete Methods Modifier and Type Method Description static AbstractWSServiceInvokergetAfirma5ServiceInvoker(java.lang.String service)Method that obtains the class used to invoke a @Firma or eVisor web service.static AbstractWSServiceInvokergetAfirma5ServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient)Method that obtains the class used to invoke a @Firma or eVisor web service.static AbstractWSServiceInvokergetAfirma5ServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties)Method that obtains the class used to invoke a @Firma or eVisor web service.
-
-
-
Method Detail
-
getAfirma5ServiceInvoker
public static AbstractWSServiceInvoker getAfirma5ServiceInvoker(java.lang.String service) throws WSServiceInvokerException
Method that obtains the class used to invoke a @Firma or eVisor web service.- Parameters:
service- Parameter that represents the name of the web service.- Returns:
- the class used to invoke a @Firma or eVisor web service.
- Throws:
WSServiceInvokerException- if the method fails.
-
getAfirma5ServiceInvoker
public static AbstractWSServiceInvoker getAfirma5ServiceInvoker(java.lang.String service, java.util.Properties serviceInvocationProperties) throws WSServiceInvokerException
Method that obtains the class used to invoke a @Firma or eVisor web service.- Parameters:
service- Parameter that represents the name of the web service.serviceInvocationProperties- Set of properties defined to invoke the web service.- Returns:
- the class used to invoke a @Firma or eVisor web service.
- Throws:
WSServiceInvokerException- if the method fails.
-
getAfirma5ServiceInvoker
public static AbstractWSServiceInvoker getAfirma5ServiceInvoker(java.lang.String applicationName, java.lang.String service, java.lang.String idClient) throws WSServiceInvokerException
Method that obtains the class used to invoke a @Firma or eVisor web service.- Parameters:
applicationName- Parameter that represents the name of the client application.service- Parameter that represents the name of the web service.idClient- Parameter that represents the client application identifier.- Returns:
- the class used to invoke a @Firma or eVisor web service.
- Throws:
WSServiceInvokerException- if the method fails.
-
-