Creating the authenticate operation

The authenticate operation has the following input and output:

Follow these steps to add the authenticate operation to the Bank interface:

  1. Switch to the BankInterface editor.
  2. Click the Add Request Response Operation button Add Request Response Operation.
  3. Switch to the Properties view.
  4. In the details section, click the Description tab.
  5. In the Name field, type authenticate.
  6. Switch to the BankInterface editor.
  7. Click the Add Input button Add Input.
  8. Switch to the Properties view.
  9. In the details section, click the Description tab.
  10. In the Name field, type customerName.
  11. In the Type list, type string.
  12. From the list, click string.
  13. Switch to the BankInterface editor.
  14. Click the Add Input button Add Input.
  15. Switch to the Properties view.
  16. In the details section, click the Description tab.
  17. In the Name field, type password.
  18. In the Type list, type string.
  19. From the list, click string.
  20. Switch to the BankInterface editor.
  21. Click the Add Output button Add Output.
  22. Switch to the Properties view.
  23. In the details section, click the Description tab.
  24. In the Name field, type result.
  25. In the Type list, type boolean.
  26. From the list, click boolean.
  27. From the menu, select File > Save (or press Ctrl+S).
  28. From the menu, select File > Close (or press Ctrl+F4). The editor closes for BankInterface.

Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.