Creating the mainProcessInterface interface

The mainProcessInterface has the applyOnline operation. Follow these instructions to create the mainProcessInterface interface which will be added to the mainProcess component:
  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 mainProcessInterface.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/mainProcessInterface.
  7. Click Finish.The editor opens for mainProcessInterface.
  8. Switch to the mainProcessInterface 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 applyOnline.
  14. Switch to the mainProcessInterface 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 applicationInformation.The Data Type Selection window opens.
  20. In the Filter by type, namespace, or file (? = any character, * = any String) field, type ApplicationBO.
  21. Click OK.
  22. In the Type list, type ApplicationBO [http://LoanApplicationModule/com/mybank/loan].
  23. Switch to the mainProcessInterface 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 string.
  30. From the list, click string.
  31. From the menu, select File > Save (or press Ctrl+S).
    LoanApplicationInterface
  32. From the menu, select File > Close (or press Ctrl+F4).The editor closes for mainProcessInterface.

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