Configuring the BTT configuration files

About this task

The following configurations are important to the connection with the BTT server side:

Procedure

  1. Add CSClient class mapping to the services in btt.xml as follows:
  2. Add CSClient configuration to dsesrvce.xml. The id is the unique identifier for this CSClient. You can use CSClient.getCSClient(id) to get an initialized CSClientService instance. The serverName is the path of the server side Web project, which holds C/S connectivity servlets.
    <CSClient id="realCSClient"
      serverName="http://localhost:9080/ BTTSampleWeb "
      sessionType="NonSecure" retryOnError="true"			
      csAssignServletName="/servlet/com.ibm.btt.cs.servlet.CSAssignServiceIdAndServerTIDProtocolServlet"
    	 csNotifClToSrvServletName="/servlet/com.ibm.btt.event.CSNotifClToSrvProtocolServlet"
    	 csNotifSrvToClServletName="/servlet/com.ibm.btt.event.CSNotifSrvToClProtocolServlet"
    	 csReqProtocolServletName="/servlet/com.ibm.btt.cs.servlet.CSReqProtocolServlet"
    	 usedForServerToClientEventNotification="true"
    	 reconnectionAttempts="20"
    	 timeBetweenReconnectionAttempts="10000" userAgent="CSClient"
    	 useProxy="false" proxyHost="localhost" proxyPort="9080"
    	 serverCredentials="cred:cred" proxyCredentials="cred:cred"
    	 defaultOperationTimeout="10000" keepAliveConnection="false"
    	 runInSession="true" setTcpNoDelay="true" sendBufferSize="0"
    	 permanentConnectionForEvents="true" eventsPort="8082" />
  3. File xuiengine.xml is the global setting file for XML UI (XUI) Engine. It used to specify widget tag and class mapping, the theme, shortcut key map, resource bundle etc. You can see more info in XUI Engine’s document. XUI Engine should init firstly from this file before loading transaction xml panels.