Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Go to the product page of WSO2 Enterprise Integrator, select Other Installation Options, and download the Binary distribution. Extract the ZIP file of the binary. This will be your <EI_HOME> directory.
Tip
titleBefore you begin
  1. Install Oracle Java SE Development Kit (JDK) version 1.8.* and set the JAVA_HOME environment variable.
  2. Download the product installer from here, and run the installer.
Insert excerpt
Installing the ProductInstalling the Product
nopaneltrue

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"

  1. 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
    borderWidth1
    Localtabgroup
    Open a terminal and execute the following command:
    Localtab
    activetrue
    titleOn MacOS/Linux/CentOS
    Code Block
    wso2ei-6.4.0-integratorsh integrator.sh
    Go to Start Menu -> Programs -> WSO2 -> Enterprise Integrator 6.4.0 Integrator. This will open a terminal and start the ESB profile.
    Localtab
    titleOn Windows
    Code Block
    integrator.bat
  1. In your Web browser, navigate to the ESB profile's management console using the following URL:  https://localhost:9443/carbon/.
  2. Log into the management console using the following credentials:
    • Username: admin
    • Password: admin

...