public abstract class AbstractWSServiceInvoker
extends java.lang.Object
Class that defines the common functionality for all the classes which allow to invoke the web services of @Firma.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
AbstractWSServiceInvoker(java.lang.String svc)
Constructor method for the class AbstractAfirma5ServiceInvoker.java.
|
AbstractWSServiceInvoker(java.lang.String svc,
java.util.Properties svcInvProperties)
Constructor method for the class AbstractAfirma5ServiceInvoker.java.
|
AbstractWSServiceInvoker(java.lang.String appName,
java.lang.String svc,
java.lang.String idClient,
boolean isEvisor)
Constructor method for the class AbstractAfirma5ServiceInvoker.java.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationName()
Gets the value of the attribute
applicationName. |
java.lang.String |
getService()
Gets the value of the attribute
service. |
java.util.Properties |
getServiceInvocationProperties()
Gets the value of the attribute
serviceInvocationProperties. |
abstract java.lang.String |
invokeService(java.lang.String methodName,
java.lang.Object[] parameters)
Method that invokes a web service published by @Firma.
|
void |
setServiceInvocationProperties(java.util.Properties srvInvokeProp)
Sets the value of the attribute
serviceInvocationProperties. |
public AbstractWSServiceInvoker(java.lang.String svc)
svc - Parameter that represents the name of the service to invoke.public AbstractWSServiceInvoker(java.lang.String svc,
java.util.Properties svcInvProperties)
svc - Parameter that represents the name of the service to invoke.svcInvProperties - Parameter that represents the set of configuration parameters of the service to invoke.public AbstractWSServiceInvoker(java.lang.String appName,
java.lang.String svc,
java.lang.String idClient,
boolean isEvisor)
appName - Parameter that represents the name of the application which invokes the service.svc - Parameter that represents the name of the service to invoke.idClient - Parameter that represents the client application identifier.isEvisor - Parameter that represents if is a eVisor invocation.public abstract java.lang.String invokeService(java.lang.String methodName,
java.lang.Object[] parameters)
throws WSServiceInvokerException
methodName - Parameter that represents the name of the methof to invoke.parameters - Parameter that represents the list of inputs.WSServiceInvokerException - If the method fails.public final java.lang.String getService()
service.service.public final java.lang.String getApplicationName()
applicationName.applicationName.public final java.util.Properties getServiceInvocationProperties()
serviceInvocationProperties.serviceInvocationProperties.public final void setServiceInvocationProperties(java.util.Properties srvInvokeProp)
serviceInvocationProperties.srvInvokeProp - The value for the attribute serviceInvocationProperties.