Running H/F 1 427
<global-forwards>
</global-forwards>
<action-mappings>
<action path="/prepareSignIn"
forward="/signin.jsp"
className="org.apache.struts.action.ActionMapping"
parameter="signIn"/>
<action name="signInForm"
path="/signIn"
className="com.ibm.btt.struts.config.BTTEJBActionMapping"
type="com.ibm.btt.struts.actions.EJBSignInAction"
input="/signin.jsp"
invokerId="signInInvoker"
validator="btt.bank.ui.struts.forms.SignInXVal"
validate="true"
parameter="signIn">
<forward name="success"
contextRelative="true"
path="/btt/bank/ui/struts/withdrawal/prepareDeposit.do" />
<forward name="signin"
path="/signin.jsp"/>
</action>
</action-mappings>
<flowcontext contextName="signInCtx" local="true" />
<plug-in className="com.ibm.btt.struts.plugins.BTTDefaultNotifier" />
<finals>
<final type="forward"
name="/btt/bank/ui/struts/withdrawal/prepareDeposit.do"/>
</finals>
</struts-config>
To wire the presentation logic to the business logic for deposit operation, perform
the following tasks:
1. Open BankBasicOp.etee with the Graphical Editor.
2. Double-click the line between the withdrawal presentation node and the
deposit BP node. In the pop-up window, select the Access with WSIF check
box.
428 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
3. Click Browse and select deposit_ProcessPortType_SOAP.wsdl in the
folder WebContent/btt/bank/business/logic of the BTTBankWeb project.
4. Click OK.
5. Click OK again to complete the setup as shown in Figure 8-161.
Figure 8-161 Set up WSIF link properties
6. Press Ctrl+S to save your work.
Running H/F 1 429
Figure 8-162 shows the final design within the Graphical Editor.
Figure 8-162 The final design in the Graphical Editor
To test the deposit business process, perform the following tasks:
Ensure that the DB2 server is ready and running:
1. Add BTTBankProcessEAR to the WBI SF server instance.
2. In the Server perspective, right-click WBI SF either from the Server
Configuration view or the Servers view. Select Start from the context menu.
In the console view, you will see a lot of messages. This means that the
server is running. When you see the “Server server1 open for e-business”
message, it means the server is fully started.
3. Get into the sign-in page using the following URL:
http://localhost:9080/BTTBankWeb/btt/bank/ui/struts/signin/prepareSignIn.do
430 IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines
4. Input the following values and click Submit:
Use ID: user01
Password: user01 ,
A deposit page, as shown in Figure 8-163, opens.
Figure 8-163 The Deposit page
5. Input arbitrary Account Number and Amount, and then click Deposit. After
the submission, you will see that the browser appears to be hanging for a
while. The Dummy journal service dialog box opens as shown in
Figure 8-164. Click OK.
Figure 8-164 The message from the addRecord method of the dummy journal service

Get IBM Branch Transformation Toolkit 5.1 Migration and Usage Guidelines now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.