The LoanLimitsRuleInterface interface has the checkCredit and autoapproval operations. Follow these steps to create the interface:
- 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 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.
- Click Finish.The editor opens for LoanLimitsRuleInterface.
- Switch to the LoanLimitsRuleInterface 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 checkCredit.
- Switch to the LoanLimitsRuleInterface 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 applicantInformation.The Data Type Selection window opens.
- In the Filter by type, namespace, or file (? = any character, * = any String) field, type ApplicantBO.
- Click OK.
- In the Type list, type ApplicantBO [http://LoanApplicationModule/com/mybank/loan].
- Switch to the LoanLimitsRuleInterface 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 boolean.
- From the list, click boolean.
- Switch to the LoanLimitsRuleInterface 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 autoapproval.
- Switch to the LoanLimitsRuleInterface 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 LoanLimitsRuleInterface 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 boolean.
- From the list, click boolean.
- From the menu, select File > Save (or press Ctrl+S).

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