Hi,
I am trying to configure email notification scenario in WSO2 DSS. I have
generated a data service in DSS for exposing data in a database, and when a
request to that data service triggers an event the subscribers to that
event should receive an email notification. The use case is when I invoke
the data service the data should be added to the database and at the same
time the respective subscribers should receive a mail notification.
The steps I followed are:
- I configured the mailto transport sender in axis2_Client.xml file
located in <DSS_HOME>/repository/conf/axis2 folder.
- In the insert query I added an event for identifying an event_trigger
used in the data service.
- I configured the Xpath accordingly for the response message, and when
this evaluation becomes true the event will be triggered.
- I configured the Event sink URL as well.
When I invoke the service I found the following exception logged in the
console:
ERROR {org.apache.axis2.transport.mail.MailTransportSender} - Error
creating mail message or sending it to the configured server
{org.apache.axis2.transport.mail.MailTransportSender}
javax.mail.AuthenticationFailedException
Can you please suggest whether there is anything wrong with my
configuration?
The document I referred is [1].
[1]
https://docs.wso2.com/display/DSS351/Receiving+Notifications+from+Data+Services
Thanks,
Piriya
Regards,
*Piriya Sivalingam*
*Software Engineer - Support Team*
*WSO2*
*Mobile : +94 77 8462039*
[image: http://wso2.com/signature] <http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev