19
Using SOA to Enhance Email Notifications Rajas Kirtane 8/11/2014

Using SOA to Enhance Email Notifications

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Using SOA to Enhance Email Notifications

Using SOA to Enhance

Email Notifications

Rajas Kirtane

8/11/2014

Page 2: Using SOA to Enhance Email Notifications

In collaboration with 2 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Agenda

Introduction

Business Challenge

Solution Overview

Key Learning's

Q & A

Page 3: Using SOA to Enhance Email Notifications

In collaboration with 3 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Introduction

Supply Chain Technologies and Retail

Enterprise Architect –SCM Solutions

14+ years of experience in IT consulting focusing mainly on OTM and other SCM solutions

Enterprise architect for modelling TMS solutions for global clientele with expertise in SCM

Integrations

Highly experienced in working with IT systems of global leader in logistics and SCM

Replace

with

Picture

Page 4: Using SOA to Enhance Email Notifications

In collaboration with 4 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Agenda

Introduction

Business Challenge

Solution Overview

Key Learning's

Q & A

Page 5: Using SOA to Enhance Email Notifications

In collaboration with 5 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

The Client Requirements Required a Solution Beyond the

Standard OTM Functionality

Business Challenges

Solution Approach

Targeted Benefits

Need to send out multiple custom

build notification emails out of OTM

and other Legacy applications

Use of Service Oriented Architecture

and Oracle Fusion middleware

technologies to handle both OTM and

Legacy requirements

Enterprise standards for

consistency in notification look and

feel

Reusable code that could be

deployed as SaaS solution

The notifications email’s content

required a mix of static and dynamic

HTML content along with simple

branding

Use of domain value maps (DMV) and

business rules to achieve dynamism.

Use of XHTML templates to derive HTML

Dynamic control of notification

based on business requirements

Freedom to design and define our

own notification format and keep it

consistent with enterprise wide

standards

Email attachments functionality was

required for some notification emails

Fusion technologies out of box email

component was extended to achieve

attachments on emails

Business was able send file

attachment on email notification

from the existing solution without

redesigning business process

Limited resources

Hosted on existing Infrastructure.

NO additional cost and pain to manage

another set of servers or technologies

Solution can be developed and

maintained with limited resources

Page 6: Using SOA to Enhance Email Notifications

In collaboration with 6 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Agenda

Introduction

Business Challenge

Solution Overview

Key Learning's

Q & A

Page 7: Using SOA to Enhance Email Notifications

In collaboration with 7 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Using SOA Dynamic Email Messages are Generated

Service Oriented Architecture provided additional flexibility and

implementation speed while improving the ability for the organization to

support the solution

To handle the various business requirements across the organization and the dynamic type

of messaging we used SOA to meet the needs of the business:

Sends custom SCM notifications emails for SCM event

Use of service oriented architecture in design to reduce costs and increase speed of

deployment of multiple requirements

Eliminates use of specific reporting tool like BI- Publisher

Developed and hosted using Oracle Fusion technologies

Notification email contents are HTML based to provide more possibilities

Hyperlinks, Rich text, branding and virtually anything that is possible in HTML is

possible on the notifications.

Page 8: Using SOA to Enhance Email Notifications

In collaboration with 8 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

The Solution High Level Design Consists of 5 Main Components

OTM

Legacy

ERP

OTM ABCS

(SOA)

Legacy ABCS

ERP ABCS

Notification

Service

Content Generator

Service

Business

Rules

Page 9: Using SOA to Enhance Email Notifications

In collaboration with 9 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

The Process Supports Unique Notifications For Each Outbound

OTM Message

OTM

OTM Generates Outbound XML Transmission

OTM

AB

CS

(SO

A)

No

tifi

cati

on

Se

rvic

e

Co

nte

nt

Ge

ne

rato

r B

usi

ne

ss

Ru

les

Receives OTM XML and Calls Notification Service

2

Calls Content Generator Service

Calls Business Rules Engine to Get Notification Configuration

Maintain Business Rules Configuration for Each Type of Notification

3

4

5

Send Out Emails

Generates <HTML> String for Notification Based on Configuration

6

7

1

Page 10: Using SOA to Enhance Email Notifications

In collaboration with 10 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

OTM Agent is

Triggered

OTM Transmission

XML is generated

for the Shipment

Object

OTM agent

performs agent

actions for the

event

Prepares XML with

all relevant data for

generating

notification for hand

off

Make web service

call or Enqueue

Transmission XML

for OTM ABCS

SCM Even occurs in OTM OTM Agent is fired Call OTM ABCS

1

OTM Generates Outbound XML Transmission

Page 11: Using SOA to Enhance Email Notifications

In collaboration with 11 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Dequeue/receive

transmission xml

from OTM

Handoff

transmission XML

to down stream

components

Determine which

notification is to

be generated

using Xpath

Create HTML text

strings for the

notification contents

Provide email

recipient

information like , To,

Cc

Assign subject text

to email

Provide file

attachment details

Transform OTM

transmission into

notification request

message

Call notification web

service

Get the receipt acknowledgement

Receive transmission xml from OTM

Identify notification type to be generated

Provide email meta data

Call notification service

2

OTM ABCS Receives OTM XML & Calls Notification Service

Page 12: Using SOA to Enhance Email Notifications

In collaboration with 12 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

• Validate input XML

against schema

• Send receipt

acknowledgement

to consumer

• Transform input

message to request

message of content

service

• Call Content Generator Service

Validate input XML Call Content Generator

Service

3

The Notification Service is Called to Send Notifications

• Receive <HTML>

string for email

body from content

service

• Prepare, To, Cc,

Bcc list

• Determine if Email

attachments are

requested

• Attach the supplied

file or fetch it from

network.

• Transmit email

using standard SOA

components

Prepare email Send email

7

Page 13: Using SOA to Enhance Email Notifications

In collaboration with 13 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Call business

rules for specific

notification Type

Get notification

display

configuration

Get Template file

Name (.xhtml)

configured from

Notification rules

Read the specific

template file for

notification type

Get notification

display

configuration for

the notification

from business rule

Replace input

HTML contents

with XHTML

template as per

Business rule

Generate

<HTML>stream

(Email Body)

Return this

<HTML> String to

the Notification

service

Call Business Rules Get XHTML template Transform XHTML Return HTML

4

Content Generator Service Generates Notification Contents

6

Page 14: Using SOA to Enhance Email Notifications

In collaboration with 14 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Define Business

rule Decision

table design

Configure

decision table for

each notification type

Enable Business

rules to be called

as Web service

from external

applications.

Define Configure Enable

5

Maintain Business Rules to Handle Various Business

Requirements

Page 15: Using SOA to Enhance Email Notifications

In collaboration with 15 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Agenda

Introduction

Business Challenge

Solution Overview

Key Learning's

Q & A

Page 16: Using SOA to Enhance Email Notifications

In collaboration with 16 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Key Learning's

The Business Team and Technology Team Need to Work as One Team From the

Start to the Finish to Ensure Success on the Project

Critical Success

Factor Hints and Watch Outs

Involve all stake holders during early design phase to gather a

complete understanding of the requirements

Be sure to explain and get buy in for what and how we are trying to

achieve the end result

Test as many email clients as possible, for e.g. Outlook,

Gmail, Gmail on Mobile.. Etc..

Run as many business scenarios as possible to generate

notifications and test the business rules

Extend middleware/Integration technologies to send notifications

Strong knowledge of Fusion middleware offerings and capabilities

Intense design session with all stake

holders

Intense Testing

Develop a flexible approach to

design & strong fusion skills

Page 17: Using SOA to Enhance Email Notifications

In collaboration with 17 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Agenda

Introduction

Business Challenge

Solution Overview

Key Learning's

Q & A

Page 18: Using SOA to Enhance Email Notifications

In collaboration with 18 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.

Presentation Title | Date

Questions / Comments?

Page 19: Using SOA to Enhance Email Notifications

The information contained in this presentation is proprietary.

© 2012 Capgemini. All rights reserved.

www.capgemini.com

About Capgemini

With around 120,000 people in 40 countries, Capgemini is

one of the world's foremost providers of consulting,

technology and outsourcing services. The Group reported

2011 global revenues of EUR 9.7 billion (approximately

$13.5 billion USD).

Together with its clients, Capgemini creates and delivers

business and technology solutions that fit their needs and

drive the results they want. A deeply multicultural

organization, Capgemini has developed its own way of

working, the Collaborative Business ExperienceTM, and

draws on Rightshore ®, its worldwide delivery model.

Rightshore® is a trademark belonging to Capgemini