Web Service Access operation classes

Three Web Service Access operations and implemented: BalanceAccessOp, CustInfoAccessOp, and TransferAccessOp.

The BalanceAccessOp class extends the BTTServerOperation class that is provided by the toolkit, and overrides the execute method. The new execute method does the following things:

The CustInfoAccessOp works similarly.

The TransferAccessOp class also extends the BTTServerOperation class, and overrides the execute method. Since this operation is invoked through WSTransferAccessProc, the OperationRepliedEvent should return the event that must be launched by the flow processor when the operation is over. If the execution of the operation is interrupted by an exception, the exception is caught in the action, and an error event is issued. Otherwise, an ok event is sent to the processor. This corresponds to the definition of TransferOperationState.error and TransferOperationState.ok in the flow processor (in the wsTransferAccessOp.xml or wsTransferAccessOp.transaction file).