Oracle SOA Suite- Implementing Email Notification
In this post, I am going to show how to implement email notifications in Oracle SOA Suite using BPEL process. So let's get started-
Implementing email notification in Oracle SOA Suite consists of below steps:
Environment-
- IDE- Oracle jDeveloper 11g
- Weblogic Server 12c
- Oracle SOA Suite 12c
- Keep ready email server settings.
- Configure & enable usermessagingdriver-email for target SOA servers via console.
- Setting up Email driver (usermessagingdriver-email )with email server settings via enterprise manager.
- Enable notifications for SOA workflows(make sure either All or EMail option is selected)..
- Create SOA composite application
- Deploy it on SOA server.
- Testing & done.
1. Keep ready email server settings.
Keep ready your below email server settings:
- Outgoing Mail Server : smtp.domain.com
- Outgoing Mail Server Port : xxx
- Default From Address : username@doamin.com
- Outgoing Username : actualemailid@domain.com
- Outgoing Password : *******
- Incoming Mail Server pop.domain.com
- Incoming Mail Server Port xxxx
- Incoming Mail IDs(use Outgoing Username/Password)
2. Configure & enable usermessagingdriver-email for target SOA servers via console
- Login to weblogic console(http://host:port/console)
- Select domain in left panel
- Click on deployments
- Search for usermessagingdriver-email & click it
- Go to 'Settings for usermessagingdriver-email'
- Select targets
- Check all & click on 'Change Targets'
- Now select the servers where you want, I selected Admin Server L& SOA Server
- Click on 'Yes' button.
- Now your usermessagingdriver-email is enabled.
3. Setting up Email driver (usermessagingdriver-email )
- Login to weblogic em console(http://host:port/em).
- Now I want to configer email driver for soa_server1.
- Go to User Messaging left navigation panel and select usermessagingdriver-email (soa_server1).
- Now click on usermessagingdriver-email and select email driver properties
- Click on plus sign '+' to create a new configuration(this option comes in 12c version, 11g opens directly a email driver configuration page)
- Now fill the details under 'Create Driver Properties' with the help of email driver settings availabe in Step 1
- Test it and Ok.
4. Enable notifications for SOA workflows.
Now driver has been configured and need to enable notifications. This ca be done via below navigation:
SOA --> soa-infra(soa server) -->Right Click --> SOA Administration --> Workflow Properties --> Workflow Notification Properties --> Notification Mode : All/Email/SMS
Now our back end system is ready for sending SMS notifications for SOA workflows.
5. Create SOA composite application via jDeveloper
- Start jDeveloper and create a new application 'EmailDemoApplication' of SOA type.
- Create a new project 'EmailDemoProject' & finish.
- Now we need a schema i.e. xsd. You can create your own schema or just add a bpel process 'EmailBPELProcess'
- Process- Synchronous
- Keep option checked - expose as a web service
- Accept all defaults, 1 input & 1 output variable.
- Ok.
- Double click on bpel process and there are two activities availabe in composite swimlane.
- Add an assign activity
- Double click and do assignment for output variable using expression builder "concat('Hello user email is: ,',bpws:getVariableData('inputVariable','payload','/client:process/client:input'))"
- Ok.
- Now add an email activity from component palet below the assign activity.
- Configure email activity
- To: use expression builder to select input variable " <%bpws:getVariableData('inputVariable','payload','/client:process/client:input')%>"
- CC: leave it blank
- BCC: leave it blank
- Reply To: leave it blank
- Subject: Test email via bpel process
- Message: Hello, this is a test message via SOA-BPEL workflow
- Save it.
6. Deploy it on SOA server
Now create a connection via jDeveloper to your target soa server & deploy the application.
7. Testing the web service
- Login to em console
- Go to your soa server
- Select deployed composites and select your project.
- Below web service testing screen will open.
- Enter an email id and click on Test Web service button & check it in flow trace and the email(provided in textbox).
Note: Notification status can be verified inside usermessagingserver -> Message Status
Also check my this blog How to send SMS notifications via Oracle SOA Suite- https://k10technical.blogspot.com/2017/04/oracle-soa-suite-implementing-sms_28.html
Enjoyed reading the article above, really explains everything in detail, the article is very interesting and effective. Thank you and good luck for the upcoming articles Oracle soa certification
ReplyDeleteThis information is really awesome thanks for sharing most valuable information.
ReplyDeleteMicroservices Online Training
Microservices Training in Hyderabad
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletetop microservices online training
microservices online training
best microservices online training
Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
ReplyDeletebest microservices online training
There are lots of information about latest software analyzing huge amounts of unstructured data in a distributed computing environment.This information seems to be more unique and interesting.
ReplyDeleteThanks for sharing. PHP Training in Chennai | Certification | Online Training Course | Machine Learning Training in Chennai | Certification | Online Training Course | iOT Training in Chennai | Certification | Online Training Course | Blockchain Training in Chennai | Certification | Online Training Course | Open Stack Training in Chennai |
Certification | Online Training Course
Thanks a lot for sharing a great blog I was just browsing through the internet looking for some information and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject. Bookmarked this page, will come back for more keep going on it helped me a lot I have gained a lot of knowledge by reading your blog.
ReplyDeleteOracle SOA Training
Oracle SOA 12c Training
Oracle soa online training
Oracle soa course
oracle soa suite training
Thanks a lot for sharing a great blog I was browsing through the internet looking for Oracle SOA and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information blogs about Oracle SOA at Oracle SOA Blogs. Bookmarked this page, it helped me a lot and I have gained a lot of knowledge by reading your blog and Oracle SOA Training
ReplyDeleteThanks a lot for sharing a valuable blog on Oracle SOA Training. I was browsing through the internet looking for Oracle SOA Training and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information about Oracle SOA by attending Oracle SOA Training. You can learn about interview questions by visiting fusion Interview Questions
ReplyDeleteHi there! It is a very interesting blog on SOA topic. I was surfing through the internet for Oracle SOA interview questions and came across your blog. You definitely have a good understanding of the topic. You can find more information on Oracle SOA training here.
ReplyDeleteThanks a lot for sharing a valuable blog on Oracle SOA Tutorial. I was browsing through the internet looking for Oracle SOA Tutorial and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, You can learn more about Oracle SOA by visiting Oracle SOA Tutorial
ReplyDeleteThanks for sharing this great information on Oracle SOA. Actually I was looking for the same information on internet for SOA Interview Questions and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about SOA by attending Oracle SOA Training training .
ReplyDeleteThanks for sharing this great information on Oracle SOA. Actually I was looking for the same information on internet for SOA Interview Questions and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about SOA by attending Oracle SOA Training training .
ReplyDeleteThanks for sharing this great information on Oracle SOA. Actually I was looking for the same information on internet for SOA Interview Questions and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about SOA by attending Oracle SOA Training training .
ReplyDeleteThanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle Fusion Procurement . Actually I was looking for the same information on internet for Oracle Fusion Supply Chain Management Cloud and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more aboutOracle Fusion Manufacturing . By attending Oracle Fusion Financials .
ReplyDeleteThanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA Interview Questions and Answers
ReplyDelete. Actually, I was looking for the same information on internet for
Oracle SOA Training and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Oracle SOA Tutorial also.
ReplyDeleteThanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA Training
. Actually, I was looking for the same information on internet for Oracle SOA Interview Questions and Answers
and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Oracle SOA Tutorial also.
ReplyDeleteThanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA Training
. Actually, I was looking for the same information on internet for Oracle SOA Interview Questions and Answers
and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about Oracle SOA Tutorial also.
Nice blog thanks for sharing
ReplyDeletemicrosoft biztalk training courses
biztalk online training hyderabad
It was a great blog. It had all the required information that was needed for a better understanding of the topic.I'm glad you shared this with us, thanks. Here is a referred link same as yours oracle soa training.
ReplyDeleteThat is exactly what I was looking for !
ReplyDeleteThank you !!
Glad to see your happiness!!
DeleteWelcome and thanks for your valuable comment.
Thanks for the blog article .Much thanks again. Fantastic.
ReplyDeletedata science training
python training
angular js training
selenium trainings
Thank you ever so for you article. Really Cool.
ReplyDeletedata science training
python training
angular js training
selenium trainings
nice post.oracle soa training
ReplyDeleteoracle soa online training
nice post.oracle soa training
ReplyDeleteoracle soa online training
nice post.oracle soa training
ReplyDeleteoracle soa online training
nice post.oracle soa training
ReplyDeleteoracle soa online training
nice post.oracle soa training
ReplyDeleteoracle soa online training
Thank you for sharing wonderful information with us to get some idea about it.
ReplyDeletesoa Online Training Hyderabad
Thank you for introducing like this tool. keep it update.
ReplyDeleteSOA Training in Hyderabad
SOA Online Training
I have found great and massive information. Thanks for sharing
ReplyDeleteSOA Training
Oracle SOA Training
Smtp email server
ReplyDeleteThe Simple Mail Transfer Protocol (SMTP) server is a communication protocol or teh technology behind email communication. for more information about smtp email server visit here.
I appreciate you taking the time and effort to share your knowledge. This material proved to be really efficient and beneficial to me. Thank you very much for providing this information. Continue to write your blog.
ReplyDeleteData Engineering Services
Artificial Intelligence Services
Data Analytics Services
Data Modernization Services
Thanks For the Great Content.
ReplyDeleteWorkday Online Training in India
Workday Online Training in Hyderabad
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete