Creating the CreditCheckInterface interface

The CreditCheckInterface interface has the checkCredit operation. Follow these instructions 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 CreditCheckInterface.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/CreditCheckInterface.
  7. Click Finish.The editor opens for CreditCheckInterface.
  8. Switch to the CreditCheckInterface 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 CreditCheckInterface 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 taxpayerId.
  20. In the Type list, type string.
  21. From the list, click string.
  22. Switch to the CreditCheckInterface editor.
  23. Click the Add Output button Add Output.
  24. Switch to the Properties view.
  25. Click the Properties tab.
  26. In the details section, click the Description tab.
  27. In the Name field, type creditScore.The Data Type Selection window opens.
  28. In the Filter by type, namespace, or file (? = any character, * = any String) field, type CreditBO.
  29. Click OK.
  30. In the Type list, type CreditBO [http://LoanApplicationModule/com/mybank/loan].
  31. From the menu, select File > Save (or press Ctrl+S).
    CreditCheckInterface
  32. From the menu, select File > Close (or press Ctrl+F4).The editor closes for CreditCheckInterface.

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