...
Update email configurations: Open the
axis2_client.
xml file from the<EI_HOME>/conf/axis2
folder and add the following XML element:Code Block <transportSender name="mailto" class="org.apache.axis2.transport.mail.MailTransportSender"> <parameter name="mail.smtp.from">esb.sample@gmail.com</parameter> <parameter name="mail.smtp.user">esb.sample</parameter> <parameter name="mail.smtp.password">esb*sample8</parameter> <parameter name="mail.smtp.host">smtp.gmail.com</parameter> <parameter name="mail.smtp.port">587</parameter> <parameter name="mail.smtp.starttls.enable">true</parameter> <parameter name="mail.smtp.auth">true</parameter> </transportSender>
Set up a datasource:
- Install the MySQL server.
Download the JDBC driver for MySQL from here and copy it to your
<EI_HOME>/wso2/lib
directory.Create the following database: Company
Create the ACCOUNT table in the Company database:
Code Block CREATE TABLE ACCOUNT(AccountID int NOT NULL,Branch varchar(255) NOT NULL, AccountNumber varchar(255),AccountType ENUM('CURRENT', 'SAVINGS') NOT NULL,Balance FLOAT,ModifiedDate DATE,PRIMARY KEY (AccountID));
Enter the following data into the ACCOUNT table:
Code Block INSERT INTO ACCOUNT VALUES (1,"AOB","A00012","CURRENT",231221,'2014-12-02');
...