Let’s try a simple scenario where a patient makes an inquiry specifying the doctor's specialization (category) to retrieve a list of doctors that match the specialization. The required information is stored in an H2 database that is shipped with this product. We will create a data service in the ESB profile of WSO2 Enterprise Integrator (WSO2 EI), which will expose the information in the database, thereby decoupling the client and the database layer in the back end. The client will then communicate with the data service hosted in WSO2 EI to get the required information instead of communicating directly with the back end.
...
Downloading and set up WSO2 EI
Tip | |||||
---|---|---|---|---|---|
| |||||
|
Let's set up a back-end database for the healthcare service. We will create a database named DATA_SERV_QSG
in the <EI_HOME>/samples/data-services/database
directory for this purpose.
...
Follow the steps given below to start the ESB runtime of WSO2 EI and create the data service"
Start To start the ESB profile, open a terminal, navigate to the
<EI_HOME>/bin/
directory, and execute one of the following commands:Panel borderColor #542989 bgColor #ffffff borderWidth 1 Localtabgroup Localtab Open a terminal and execute the following command:active true title On MacOS/Linux/CentOS Code Block wso2ei-6.4.0-integratorsh integrator.sh
Localtab Go to Start Menu -> Programs -> WSO2 -> Enterprise Integrator 6.4.0 Integrator. This will open a terminal and start the ESB profile.title On Windows Code Block integrator.bat
- In your Web browser, navigate to the ESB profile's management console using the following URL:
https://localhost:9443/carbon/
. - Log into the management console using the following credentials:
- Username:
admin
- Password:
admin
- Username:
...