Creating the withdraw operation

The withdraw operation has the following input and output:

Follow these steps to add the withdraw operation to the Brokerage interface:

  1. Switch to the BrokerageInterface 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 withdraw.
  6. Switch to the BrokerageInterface 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 amount. The Data Type Selection window opens.
  11. In the Filter by type, namespace, or file (? = any character, * = any String) field, type CashAmountBO.
  12. Click CashAmountBO.
  13. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/CashAmountBO.xsd.
  14. Click OK.
  15. In the Type list, type CashAmountBO [http://eMergedLibrary/com/emerged/portal].
  16. Switch to the BrokerageInterface 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 customerNumber. The Data Type Selection window opens.
  21. Click AddressBO.
  22. In the Filter by type, namespace, or file (? = any character, * = any String) field, type CustomerNumberBO.
  23. Click CustomerNumberBO.
  24. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/CustomerNumberBO.xsd.
  25. Click OK.
  26. In the Type list, type CustomerNumberBO [http://eMergedLibrary/com/emerged/portal].
  27. Switch to the BrokerageInterface editor.
  28. Click the Add Output button Add Output.
  29. Switch to the Properties view.
  30. In the details section, click the Description tab.
  31. In the Name field, type newBalance. The Data Type Selection window opens.
  32. In the Filter by type, namespace, or file (? = any character, * = any String) field, type CashAmountBO.
  33. Click CashAmountBO.
  34. Click http://eMergedLibrary/com/emerged/portal - eMergedLibrary/com/emerged/portal/CashAmountBO.xsd.
  35. Click OK.
  36. In the Type list, type CashAmountBO [http://eMergedLibrary/com/emerged/portal].

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