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

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