About this task
Implement the Withdraw Query Account Operation first, and then you
can configure it.
- To implement the Withdraw Query Account Operation, do the following:
- Copy the WithdrawQueryAcctOperation.java from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\com\ibm\btt\jumpstart\sample\operation\ to the com.ibm.btt.jumpstart.sample.operation package of
BTTJumpStartSampleServer Project.
- The operation is called when the client side operation withdrawQueryAcctClientOp is
executed. Its execute() method assigns value to account data
in context, based on user's input in Account Number field.
- The withdrawQueryAcctOp operation includes opstep sendHostStep,
which simulates the request to host by invoking dummy JCA.
- To configure the Withdraw Query Account Operation, do the following:
In
the sample, the configuration of withdrawQueryAcctOp operation is define in
self-define operation, which includes operation, context, and format. BTT
provides the Transaction Editor to create self-define operation configuration
file. Copy the withdrawQueryAcctOp.xml from <toolkit_root>\samples\BTTJumpStartSampleEAR.ear\BTTJumpStartSampleServer.jar\definitions\ to the definitions package of BTTJumpStartSampleServer Project. For
information about how to configure operation configuration file using Transaction
Editor, see Creating
an operation using the Transaction Editor.