...
- Log into the management console of WSO2 DSS and click Create in the Data Service menu.
- Add a name for the data service and go to the next step.
- Select the Enable Boxcarring check box.
- Click Next to go to the Datasources screen.
- Create a datasource connection for the CompanyDetails database follows:
- Enter XAoffices as the datasource ID.
- Select RDBMS as the datasource type.
- Select External Datasource from the adjoining field.
- Select MySQL as the database engine.
- Enter the following database class corresponding to MySQL:
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
- Click
Click Add Properties
and createand specify the following connection settings for
thethe OfficeDetails
databasedatabase:
jdbc:: rootPropertyName Value url jdbc:
root The New Datasource screen will now look as follows:
- Save the XAoffices datasource.
- Create a datasource connection for the EmployeeDetails database as follows:
- Enter XAemployees as the datasource ID.
- Select RDBMS as the datasource type.
- Select External Datasource from the adjoining field.
- Select MySQL as the database engine.
- Enter the following database class corresponding to MySQL:
com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
Click - Click Add Properties and create specify the following connection settings for the OfficeDetailsEmployeeDetails database:jdbc:: root
Property Name Value url jdbc:
- The New Datasource screen will now look as follows:
root
- Save the XAemployees datasource.
...