com.crossworlds.webservices
Class WebServicesAccessClient

java.lang.Object
  |
  +--com.crossworlds.webservices.WebServicesAccessClient

public class WebServicesAccessClient
extends java.lang.Object

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

WebServicesAccessClient

public WebServicesAccessClient(ProxyClassParam param)
Constructs WebServicesAccessClient.
Parameters:
ProxyClassParam - object containing the parameter values required by WebServicesAccessClient
Method Detail

closeAccessSession

public void closeAccessSession(org.apache.log4j.Category proxyCat)
Closes access session that was opened using initAccessSession.
Parameters:
proxyCat - a Categpry containing the category to log

executeCollab

public java.lang.String executeCollab(java.lang.String boString,
                                      org.apache.log4j.Category proxyCat)
                               throws org.apache.soap.SOAPException
Executes collaboration.
Parameters:
boString - a String containing the SOAP message
proxyCat - a Category containing the category to log
Throws:
SOAPException - if there was error, while executing the collaboration

getAccessEngine

public com.crossworlds.webservices.IAccessEngine getAccessEngine()

getAccessParam

public ProxyClassParam getAccessParam()

getAccessSession

public com.crossworlds.webservices.IInterchangeAccessSession getAccessSession()

initAccessSession

public void initAccessSession(org.apache.log4j.Category proxyCat)
                       throws org.apache.soap.SOAPException
Starts a session with InterChange Server and uses the parameters specified in ProxyClassParam that are passed in the constructor.
Parameters:
proxyCat - a Category class to use for logging
Throws:
SOAPException - if Session could not be obtained.

setAccessEngine

public void setAccessEngine(com.crossworlds.webservices.IAccessEngine accessEngine)

setAccessParam

public void setAccessParam(ProxyClassParam param)

setAccessSession

public void setAccessSession(com.crossworlds.webservices.IInterchangeAccessSession accessSession)