Configuring the Client/Server service

About this task

To run Rich Client sample, do the following to configure the Client/Server service:

Procedure

Expand BTTSampleClient > src > btt and double-click dsesrvce.xml. This file configures BTT services, including the Client/Server service.

The CSClient configuration is as follows:

<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" />