|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.embl.ebi.escience.scuflworkers.soaplab.Soap
public class Soap
Convenience methods for simpler calling of SOAP services using the Axis client. Note that for complex scenarious you might want to construct the Call object yourself.
| Constructor Summary | |
|---|---|
Soap()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
callWebService(java.lang.String target,
java.lang.String operation)
Invoke the web service, passing no parameters, and return the result. |
static java.lang.Object |
callWebService(java.lang.String target,
java.lang.String operation,
java.lang.Object[] parameters)
Invoke the web service and return the result. |
static java.lang.Object |
callWebService(java.lang.String target,
java.lang.String operation,
java.lang.String parameter)
Invoke the web service, passing a single String parameter, and return the result. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Soap()
| Method Detail |
|---|
public static java.lang.Object callWebService(java.lang.String target,
java.lang.String operation)
throws javax.xml.rpc.ServiceException,
java.rmi.RemoteException
javax.xml.rpc.ServiceException
java.rmi.RemoteExceptioncallWebService(String target, String operation, Object[] parameters)
public static java.lang.Object callWebService(java.lang.String target,
java.lang.String operation,
java.lang.String parameter)
throws javax.xml.rpc.ServiceException,
java.rmi.RemoteException
javax.xml.rpc.ServiceException
java.rmi.RemoteExceptioncallWebService(String target, String operation, Object[] parameters)
public static java.lang.Object callWebService(java.lang.String target,
java.lang.String operation,
java.lang.Object[] parameters)
throws javax.xml.rpc.ServiceException,
java.rmi.RemoteException
target - The full URL to the service, example "http://www.ebi.ac.uk/soaplab/services/AnalysisFactory"operation - The operation name, example "getAvailableCategories"parameters - A (possibly empty) list of parameters
javax.xml.rpc.ServiceException - If web service facilities are not available
java.rmi.RemoteException - If remote call failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||