Creating the LoanLimitsRuleInterface interface

The LoanLimitsRuleInterface interface has the checkCredit and autoapproval operations. Follow these steps to create the interface:
  1. From the menu, select File > New > Other.The New window opens.
  2. In the navigation tree, click Business Integration > Interface.The Select a wizard field is set to Create a WBI Interface .
  3. Click Next.
  4. From the Module list, click LoanApplicationModule.
  5. In the Folder field, type com.mybank.loan.
  6. In the Name field, type LoanLimitsRuleInterface.The Select a wizard field is set to Enter a name for the new interface and select a module and a parent folder (optional) where the new interface will be created..The Namespace field is set to http://LoanApplicationModule/com/mybank/loan/LoanLimitsRuleInterface.
  7. Click Finish.The editor opens for LoanLimitsRuleInterface.
  8. Switch to the LoanLimitsRuleInterface editor.
  9. Click the Add Request Response Operation button Add Request Response Operation.
  10. Switch to the Properties view.
  11. Click the Properties tab.
  12. In the details section, click the Description tab.
  13. In the Name field, type checkCredit.
  14. Switch to the LoanLimitsRuleInterface editor.
  15. Click the Add Input button Add Input.
  16. Switch to the Properties view.
  17. Click the Properties tab.
  18. In the details section, click the Description tab.
  19. In the Name field, type applicantInformation.The Data Type Selection window opens.
  20. In the Filter by type, namespace, or file (? = any character, * = any String) field, type ApplicantBO.
  21. Click OK.
  22. In the Type list, type ApplicantBO [http://LoanApplicationModule/com/mybank/loan].
  23. Switch to the LoanLimitsRuleInterface editor.
  24. Click the Add Output button Add Output.
  25. Switch to the Properties view.
  26. Click the Properties tab.
  27. In the details section, click the Description tab.
  28. In the Name field, type response.
  29. In the Type list, type boolean.
  30. From the list, click boolean.
  31. Switch to the LoanLimitsRuleInterface editor.
  32. Click the Add Request Response Operation button Add Request Response Operation.
  33. Switch to the Properties view.
  34. Click the Properties tab.
  35. In the details section, click the Description tab.
  36. In the Name field, type autoapproval.
  37. Switch to the LoanLimitsRuleInterface editor.
  38. Click the Add Input button Add Input.
  39. Switch to the Properties view.
  40. Click the Properties tab.
  41. In the details section, click the Description tab.
  42. In the Name field, type applicationInformation.The Data Type Selection window opens.
  43. In the Filter by type, namespace, or file (? = any character, * = any String) field, type ApplicationBO.
  44. Click OK.
  45. In the Type list, type ApplicationBO [http://LoanApplicationModule/com/mybank/loan].
  46. Switch to the LoanLimitsRuleInterface editor.
  47. Click the Add Output button Add Output.
  48. Switch to the Properties view.
  49. Click the Properties tab.
  50. In the details section, click the Description tab.
  51. In the Name field, type response.
  52. In the Type list, type boolean.
  53. From the list, click boolean.
  54. From the menu, select File > Save (or press Ctrl+S).
    LoanLimitsRuleInterface
  55. From the menu, select File > Close (or press Ctrl+F4).The editor closes for LoanLimitsRuleInterface.

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