IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Migrating service

About this task

IBM® WebSphere® Multichannel Bank Transformation Toolkit version 7.1 supports the definition of a service in a context. Following is the code example in the service.xml file:
<CSServer id="realCSServer" inactivityClientTimeout="900000" 
timeBetweenSessionCheck="60000"/>
The code example in the context.xml file is as follows:
<context id="rootCtx" type="root">
<refKColl refId="rootData"/>
<refService refId="realCSServer" alias="CSServer" type="cs"/>
<refService refId="JDBCIB2ConnectionManager" alias="connectionManager" 
type="jdbcManager"/>
<refService alias="proximaService" refId="proximaService" type="prx"/>
<refService alias="dummyService" refId="dummyService" type="prx"/>
<refService alias="messageResourcesSrv" refId="realMessageResourcesService" 
type="multilan"/>
</context>
And the following code is the Java code before migration:
Service.readObject(getCSServerServiceName());
After migration, the Java code is as follows:
((CSServerService)ContextFactory.getCSServer())


Feedback