java.lang.Object | +--com.crossworlds.webservices.WebServicesAccessClient
Class WebServicesAccessClient
represents the Access
Client. Access Clients interact with InterChange Server using
Server Access Interface API. This class is a thin layer over Server
Access Interface API. The Proxy classes generated by Web Services
Generation Utility use WebServicesAccessClient
class to interact
with InterChange Server. This class provides the subset of
Server Access Interface API calls required by the proxy class.
Constructor Summary | |
WebServicesAccessClient(ProxyClassParam param)
Constructs WebServicesAccessClient . |
Method Summary | |
void |
closeAccessSession(org.apache.log4j.Category proxyCat)
Closes access session that was opened using initAccessSession. |
java.lang.String |
executeCollab(java.lang.String boString,
org.apache.log4j.Category proxyCat)
Executes collaboration. |
com.crossworlds.webservices.IAccessEngine |
getAccessEngine()
|
ProxyClassParam |
getAccessParam()
|
com.crossworlds.webservices.IInterchangeAccessSession |
getAccessSession()
|
void |
initAccessSession(org.apache.log4j.Category proxyCat)
Starts a session with InterChange Server and uses the parameters specified in ProxyClassParam that are passed in the
constructor. |
void |
setAccessEngine(com.crossworlds.webservices.IAccessEngine accessEngine)
|
void |
setAccessParam(ProxyClassParam param)
|
void |
setAccessSession(com.crossworlds.webservices.IInterchangeAccessSession accessSession)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebServicesAccessClient(ProxyClassParam param)
WebServicesAccessClient
.ProxyClassParam
- object containing the parameter
values required by WebServicesAccessClient
Method Detail |
public void closeAccessSession(org.apache.log4j.Category proxyCat)
proxyCat
- a Categpry
containing the category to logpublic java.lang.String executeCollab(java.lang.String boString, org.apache.log4j.Category proxyCat) throws org.apache.soap.SOAPException
boString
- a String
containing the SOAP messageproxyCat
- a Category
containing the category to logSOAPException
- if there was error, while
executing the collaborationpublic com.crossworlds.webservices.IAccessEngine getAccessEngine()
public ProxyClassParam getAccessParam()
public com.crossworlds.webservices.IInterchangeAccessSession getAccessSession()
public void initAccessSession(org.apache.log4j.Category proxyCat) throws org.apache.soap.SOAPException
ProxyClassParam
that are passed in the
constructor.proxyCat
- a Category
class to use for loggingSOAPException
- if Session could not be
obtained.public void setAccessEngine(com.crossworlds.webservices.IAccessEngine accessEngine)
public void setAccessParam(ProxyClassParam param)
public void setAccessSession(com.crossworlds.webservices.IInterchangeAccessSession accessSession)