Creating the transfer operation

The transfer operation has the following input and output:

Follow these steps to add the transfer 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 transfer.
  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 fromAccount. The Data Type Selection window opens.
  11. In the Filter by type, namespace, or file (? = any character, * = any String) field, type BankAccountBO.
  12. Click BankAccountBO.
  13. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/BankAccountBO.xsd.
  14. Click OK.
  15. In the Type list, type BankAccountBO [http://eMergedLibrary/com/emerged/portal].
  16. Switch to the BankInterface editor.
  17. Click the Add Input button Add Input.
  18. Switch to the Properties view.
  19. In the details section, click the Description tab.
  20. In the Name field, type toAccount. The Data Type Selection window opens.
  21. In the Filter by type, namespace, or file (? = any character, * = any String) field, type BankAccountBO.
  22. Click BankAccountBO.
  23. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/BankAccountBO.xsd.
  24. Click OK.
  25. In the Type list, type BankAccountBO [http://eMergedLibrary/com/emerged/portal].
  26. Switch to the BankInterface editor.
  27. Click the Add Input button Add Input.
  28. Switch to the Properties view.
  29. In the details section, click the Description tab.
  30. In the Name field, type amount.
  31. In the Type list, type double.
  32. From the list, click double.
  33. Switch to the BankInterface editor.
  34. Click the Add Output button Add Output.
  35. Switch to the Properties view.
  36. In the details section, click the Description tab.
  37. In the Name field, type result. The Data Type Selection window opens.
  38. In the Filter by type, namespace, or file (? = any character, * = any String) field, type TrueOrFalseBO.
  39. Click TrueOrFalseBO.
  40. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/TrueOrFalseBO.xsd.
  41. Click OK.
  42. In the Type list, type TrueOrFalseBO [http://eMergedLibrary/com/emerged/portal].

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