The mainProcessInterface has the applyOnline operation. Follow these instructions to create the mainProcessInterface interface which will be added to the mainProcess component:
- From the menu, select File > New > Other.The New window opens.
- In the navigation tree, click Business Integration > Interface.The Select a wizard field is set to Create a WBI Interface
.
- Click Next.
- From the Module list, click LoanApplicationModule.
- In the Folder field, type com.mybank.loan.
- 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.
- Click Finish.The editor opens for mainProcessInterface.
- Switch to the mainProcessInterface editor.
- Click the Add Request Response Operation button
.
- Switch to the Properties view.
- Click the Properties tab.
- In the details section, click the Description tab.
- In the Name field, type applyOnline.
- Switch to the mainProcessInterface editor.
- Click the Add Input button
.
- Switch to the Properties view.
- Click the Properties tab.
- In the details section, click the Description tab.
- In the Name field, type applicationInformation.The Data Type Selection window opens.
- In the Filter by type, namespace, or file (? = any character, * = any String) field, type ApplicationBO.
- Click OK.
- In the Type list, type ApplicationBO [http://LoanApplicationModule/com/mybank/loan].
- Switch to the mainProcessInterface editor.
- Click the Add Output button
.
- Switch to the Properties view.
- Click the Properties tab.
- In the details section, click the Description tab.
- In the Name field, type response.
- In the Type list, type string.
- From the list, click string.
- From the menu, select File > Save (or press Ctrl+S).

- From the menu, select File > Close (or press Ctrl+F4).The editor closes for mainProcessInterface.