Testing the Adapter Service Nodes
Perform the following procedure to test the adapter service node.
![*](icon_task_xpe.png)
To test the adapter service node
1. Start Designer.
2. In the Package Navigator, navigate to the TestMyWmSampleAdapter > services folder.
3. Click the EnquiryService service.
4. In the Run menu, select Run As > Run Service .
5. Enter data in the fields of the pop-up menu that appears as follows, and click OK.
In the Results section, the following details appear.
Field | Value |
AccountNumber | 1 |
Balance | 1000.0 |
6. Click the DepositService service.
7. In the Adapter Service Editor's TRANSACTION tab, select Deposit in the Service Name field.
8. Select File > Save.
Note:
To create additional adapter service nodes, repeat this procedure, selecting the appropriate service names, such as Transfer, Withdraw or Clear Cheque.
9. In the Run menu, select Run As > Run Service .
10. Enter data in the fields of the pop-up menu that appears as follows, and click OK.
Field | Value |
ToAccount | 1 |
Amount | 29 |
CheckNumber | 0 Note: Any value less than or equal to 0 specifies a cash deposit. Specify 0 for this test because a check deposit amount is not added to the balance until the check deposit is cleared (approved). |
11. Run the EnquiryService service with AccountNumber value as 1.
In the Results section, the following details appear.
Field | Value |
AccountNumber | 1 |
Balance | 1029.0 |