Prerequisites:
1. Install SOA Suite 11g. Start the server and keep it running.
2. Compatible JDeveloper 11g installed with SOA extension.
Steps:
1. To Set up email notification UMS email driver has to be configured.
Steps to configure email driver: Launch Oracle Enterprise Manager and open the User Messaging Service node. Right click and select Email Driver Properties.
Set the following properties for sending emails:
· OutgoingMailServer – <<Outgoing Mail Server>>
· OutgoingMailServerPort – 25
· OutgoingMailServerSecurity – None
· OutgoingUsername – <domain_name>\<user>
· OutgoingPassword – type:use cleartext password and give mail pwd
Click Apply.
2. Configure the SOA Suite Workflow Notification properties, to make sure that (email) notifications are really sent to the email server. Steps to do the same.
· In Oracle Enterprise Manager select soa-infra->Right click and select SOA Administration->Workflow Notification Properties.
· Set Notification Mode (default value is None) to either All or Email.
· Optionally provide Email From and Actionable Address.
· Restart Admin and SOA Server.
3. Creation of a BPEL process to send email notifications:
· Start JDeveloper and create Synchronous or asynchronous BPEL Project.
· The BPEL editor opens up. You will see the basic structure of the BPEL process with a receive and a reply(or callback) activity. Drag an Email activity from the component Palette and drop it after the receive Activity.Set the following values in Email activity:
Account: Default
To: To address (ex:name@<domain>.com)
Subject: Any string static or dynamic
Body: Any string static or dynamic
4. Deploy the composite and create instance of the same. Check mail.
I am planning use gmail as mail server. And generated SSL certificates and imported into trust store and followed the steps as mentioned above for configuration changes (using SSL port). But when I restart the SOA server I get below error. Can you please help to resolve this.
ReplyDeleteit's good information and very useful.Same that Could you tell me About Outgoing Mail Server Please...!
ReplyDelete