148 IBM WebSphere Everyplace Access V5, Volume IV: Advanced Topics
򐂰 When the SIA synchronization request is a Sametime instant message:
When the Sametime client is not running, the request is discarded and,
therefore, lost.
The Sametime client intercepts the SIA synchronization requests and
forwards them to the WebSphere Everyplace Access client for processing.
All the regular Sametime instant messages are forwarded to the
Sametime connect client.
4.2 Sample scenario with server-initiated actions
This scenario sends commands to a user’s device when new e-mail messages
arrive in an inbox. After receiving this messages, the device connects to
WebSphere Everyplace Access and synchronizes the new e-mail messages.
The user in this example is Manuel. The example configures two delivery
channels for Manuel. The first delivery channel is Sametime, which is used by
the second delivery channel, SIA, to send the commands to the device.
4.2.1 Requirements for this scenario
To use this scenario, the delivery channel for Lotus Sametime must be
configured. Furthermore, the user should be part of the Intelligent Notification
Service group.
To make sure the Sametime delivery channel is configured, open the
notificationManagerConfig.xml file, which is located in ins_home\config\xml
directory, where ins_home is in the installation directory C:\Program
Files\WebSphere\INS. Sametime should be available as a delivery channel.
To be able to use Intelligent Notification Services, the user has to be a member
of the Intelligent Notification Services user group. This group is defined during
the installation. In the sample installation, it is called insusers. If the user is not a
member of this group, the user will not see the Intelligent Notification Services
tab in the portal.
To use the Mail and Calender Services, the Intelligent Notification Services user
ID needs access to all mail files that it should monitor. To ensure this access:
1. Open Lotus Notes and log in as manuel.
2. Open the mail file for manuel.
Chapter 4. Server-initiated actions 149
3. Go to File
Database Access Control... and give the Intelligent
Notification Services administrative user Reader access, as shown in
Figure 4-3.
4. Click OK and close Lotus Notes.
Figure 4-3 Access Control List to give permission to the administrative user
150 IBM WebSphere Everyplace Access V5, Volume IV: Advanced Topics
Configuring delivery channels
To configure delivery channels:
1. Log in to the WebSphere Everyplace Access Portal as user Manuel.
2. Select Intelligent Notification
Setup My Delivery Channels.
3. Click Add delivery channel in the Intelligent Notification Sametime Delivery
Channels portlet (Figure 4-4).
Figure 4-4 Add a new Sametime delivery channel
4. Enter the name of this channel. This name is used later to specify which
notification should be sent to which delivery channel. You can choose any
name you want. This scenario uses the name sametime.
5. Specify the Sametime ID to where the notification should sent, as shown in
Figure 4-5.
6. Click OK.
Figure 4-5 Configure Sametime delivery channel
Chapter 4. Server-initiated actions 151
Follow these steps to create a server-initiated action delivery channel:
1. Assuming user Manuel is still logged in to the WebSphere Everyplace Access
Portal, go to Intelligent Notification
Setup My Server Initiated
Actions.
2. Click Add delivery channel in the Intelligent Notification Serve Initiated
Actions Delivery Channels portlet.
Figure 4-6 Add a new delivery channel
3. Enter the name of this channel. This name is used later to specify which
notification should be sent to which delivery channel. You can choose any
name you want. This scenario uses sia as the name of the delivery channel.
4. Select sametime as the delivery channel.
5. Click OK.
Figure 4-7 Configure SIA delivery channel
152 IBM WebSphere Everyplace Access V5, Volume IV: Advanced Topics
Configuring the subscriptions
Follow these steps to configure subscriptions:
1. Assuming that user Manuel is still logged in to the WebSphere Everyplace
Access Portal, go to Intelligent Notification
Setup My
Subscriptions.
2. Click Edit account settings in the Intelligent Notification Lotus Notes E-mail
Subscriptions portlet (Figure 4-8).
Figure 4-8 Add a new subscription
3. Enter the e-mail address and the password for the user and click OK
(Figure 4-9).
Figure 4-9 Configure Lotus Notes e-mail account settings
4. Click New to create a new mail subscription.
5. Leave the From and Subject Fields empty so that all e-mail messages with
any subject result in a notification. Select Always to receive a notification
every time a new e-mail arrives. Select All of the selected delivery
channels and sia as delivery channels, as shown in Figure 4-10 on
page 153.
6. Click OK.

Get IBM WebSphere Everyplace Access V5 Handbook for Developers and Administrators Volume IV: Advanced Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.