public interface IWSClientProxy extends InvocationHandler
IWSProxyFactory.getProxy(java.lang.Class<?>, java.lang.String, java.lang.String)
Modifier and Type | Method and Description |
---|---|
void |
addFailedAuthCallback(IFailedAuthCallback callbackObj)
Register a
IFailedAuthCallback listener to be invoked when an authentication failure occurs
when invoking a web service |
void |
flushCache()
Flush the cache web service results cache associated with this proxy
|
AuthCredentials |
getAuthCredentials()
Get the
AuthCredentials used by this proxy to authenticate web service request. |
int |
getClientSocketReadTimeout()
Get the socket timeout.
|
String |
getEndPointURL()
Get the endpoint that this web service proxy will invoke
|
List<IFailedAuthCallback> |
getFailedAuthListeners()
Get the list of all registered
IFailedAuthCallback listeners |
String |
getHostURL()
Get the host partion of the
getEndPointURL() } |
IWSProxyFactory |
getProxyFactory()
The factory that instantiated this proxy
|
boolean |
getReuseSession()
Whether to attempt to recycle an existing
IWSClientSession when
invoking a web service |
boolean |
getUseCache()
Whether invocations will check with the CacheManager
|
Class<?> |
getWebServiceClass()
Get the portType class that this IWSClientProxy instance is proxying
|
String |
getWsdlURL()
The WSDL url for this proxy
|
void |
removeFailedAuthCallback(IFailedAuthCallback callbackObj)
Remove a specific
IFailedAuthCallback object from the list of listeners |
void |
setReuseSession(boolean reuseSession)
Specify whether to attempt to recycle an existing
IWSClientSession
when invoking a web service |
void |
setUseCache(boolean useCache)
Set option for the cache manager to cache web service results
|
invoke
IWSProxyFactory getProxyFactory()
IWSProxyFactory
that created this proxy instanceString getEndPointURL()
String getHostURL()
getEndPointURL()
}String getWsdlURL()
boolean getUseCache()
void setUseCache(boolean useCache)
useCache
- true to enable caching, false to disable cachingboolean getReuseSession()
IWSClientSession
when
invoking a web servicevoid setReuseSession(boolean reuseSession)
IWSClientSession
when invoking a web servicereuseSession
- true to enable session reuse, false to create a new session on each service invocationAuthCredentials getAuthCredentials()
AuthCredentials
used by this proxy to authenticate web service request.
Specifying null credentials will use global credentials set on the @WSClient
instance.AuthCredentials
for this proxyClass<?> getWebServiceClass()
int getClientSocketReadTimeout()
void addFailedAuthCallback(IFailedAuthCallback callbackObj)
IFailedAuthCallback
listener to be invoked when an authentication failure occurs
when invoking a web servicecallbackObj
- - the IFailedAuthCallback
object instancevoid removeFailedAuthCallback(IFailedAuthCallback callbackObj)
IFailedAuthCallback
object from the list of listenerscallbackObj
- - the IFailedAuthCallback object instance to removeList<IFailedAuthCallback> getFailedAuthListeners()
IFailedAuthCallback
listenersIFailedAuthCallback
instancesvoid flushCache()