com.funambol.email.inboxlistener.engine
Class WSTools
java.lang.Object
com.funambol.email.inboxlistener.engine.WSTools
- public class WSTools
- extends java.lang.Object
This class groups some utility methods for WS invoking and handling
Constructor Summary |
WSTools(java.lang.String endpoint,
java.lang.String username,
java.lang.String password)
Creates a new WSTools with the given endpoint |
Method Summary |
java.lang.Object |
invoke(java.lang.String methodName,
java.lang.Object[] args)
Invokes the given WS method with the given objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FAULT_UNAUTHORIZED
public static final java.lang.String FAULT_UNAUTHORIZED
- See Also:
- Constant Field Values
FAULT_DATA_STORE
public static final java.lang.String FAULT_DATA_STORE
- See Also:
- Constant Field Values
WSTools
public WSTools(java.lang.String endpoint,
java.lang.String username,
java.lang.String password)
throws java.lang.Exception
- Creates a new WSTools with the given endpoint
- Parameters:
endpoint
- the endpoint
invoke
public java.lang.Object invoke(java.lang.String methodName,
java.lang.Object[] args)
throws java.lang.Exception
- Invokes the given WS method with the given objects.
- Parameters:
methodName
- the method to invokeargs
- the call arguments
- Returns:
- the object returned by the invoked method
- Throws:
AdminExcheption
- in case of SyncAdmin or administration errors
java.lang.Exception
Copyright © 2003-2006 Funambol.