net.sf.basedb.ws.client
Class AbstractRPCClient
java.lang.Object
net.sf.basedb.ws.client.AbstractRPCClient
- Direct Known Subclasses:
- AnnotationTypeClient, ArrayDesignClient, BioAssaySetClient, ExperimentClient, ProjectClient, RawBioAssayClient, ReporterClient, SessionClient
public abstract class AbstractRPCClient
- extends Object
Abstract class for RPCServiceClients in web services.
Holds information about the service to use
and gives different ways of
- Version:
- 2.5
- Author:
- Martin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceUrl
private final String serviceUrl
serviceFactory
private ServiceFactory serviceFactory
AbstractRPCClient
protected AbstractRPCClient(String url,
String service)
AbstractRPCClient
protected AbstractRPCClient(String url,
String service,
ServiceFactory serviceFactory)
- Since:
- 2.8
getServiceFactory
public ServiceFactory getServiceFactory()
- Get the factory that is used to create
RPCServiceClient
objects for this web service.
- Since:
- 2.8
setServiceFactory
public void setServiceFactory(ServiceFactory serviceFactory)
- Sets the factory that is used to create
RPCServiceClient
objects for this web service.
- Since:
- 2.8
invokeBlocking
protected Object[] invokeBlocking(String operation,
Object[] args,
Class[] returnTypes)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
invokeBlocking
protected <T> T invokeBlocking(String method,
Class<T> clazz,
Object... args)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
invokeBlocking
protected void invokeBlocking(String operation,
Object... args)
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
invokeFileBlocking
protected InputStream invokeFileBlocking(String operation,
Object... args)
throws org.apache.axis2.AxisFault,
IOException
- Throws:
org.apache.axis2.AxisFault
IOException
getService
protected org.apache.axis2.rpc.client.RPCServiceClient getService()
throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
getOperation
protected QName getOperation(String operation)