Oracle® Fusion Middleware Administrator's Guide for Oracle SOA Suite and Oracle Business Process Management Suite 11g Release 1 (11.1.1.4.0) Part Number E10226-05 |
|
|
View PDF |
This chapter describes how to configure Oracle User Messaging Service (UMS).
This chapter includes the following topics:
Section 28.2, "Introduction to Oracle User Messaging Service Configuration"
Section 28.3, "Accessing User Messaging Service Configuration Pages"
Section 28.6, "Troubleshooting Oracle User Messaging Service"
Oracle User Messaging Service enables two-way communication between users and deployed applications. Key features include:
Support for a variety of messaging channels—Messages can be sent and received through Email, IM (XMPP), SMS (SMPP), and Voice. Messages can also be delivered to a user's SOA/WebCenter Worklist.
Two-way Messaging—In addition to sending messages from applications to users (referred to as outbound messaging), users can initiate messaging interactions (inbound messaging). For example, a user can send an e-mail or text message to a specified address; the message is routed to the appropriate application which can then respond to the user or invoke another process according to its business logic.
User Messaging Preferences—End users can use a web interface to define preferences for how and when they receive messaging notifications. Applications immediately become more flexible; rather than deciding whether to send to a user's e-mail address or instant messaging client, the application can simply send the message to the user, and let UMS route the message according to the user's preferences.
Note:
The User Messaging Preferences UI is available at:http://<host>:<port>/sdpmessaging/userprefs-ui
The User Messaging Preferences UI is also embedded in the SOA Worklist application. You can access it from the Worklist application by choosing Preferences > Notification.
Robust Message Delivery—UMS keeps track of delivery status information provided by messaging gateways, and makes this information available to applications so that they can respond to a failed delivery. Or, applications can specify one or more failover addresses for a message in case delivery to the initial address fails. Using the failover capability of UMS frees application developers from having to implement complicated retry logic.
Pervasive integration within Fusion Middleware: UMS is integrated with other Fusion Middleware components providing a single consolidated bi-directional user messaging service.
Integration with Oracle BPEL—Oracle JDeveloper includes pre-built BPEL activities that enable messaging operations. Developers can add messaging capability to a SOA composite application by dragging and dropping the desired activity into any workflow.
Integration with Oracle Human Workflow—UMS enables the Human Workflow engine to send actionable messages to and receive replies from users over e-mail.
Integration with Oracle BAM—Oracle BAM uses UMS to send e-mail alerts in response to monitoring events.
Integration with Oracle WebCenter—UMS APIs are available to developers building applications for Oracle WebCenter Spaces. The API is a realization of Parlay X Web Services for Multimedia Messaging, version 2.1, a standard web service interface for rich messaging.
There are three types of components that make up Oracle User Messaging Service. These components are standard Java EE applications, making it easy to deploy and manage them using the standard tools provided with Oracle WebLogic Server.
UMS Server: The UMS Server orchestrates message flows between applications and users. The server routes outbound messages from a client application to the appropriate driver, and routes inbound messages to the correct client application. The server also maintains a repository of previously sent messages in a persistent store, and correlates delivery status information with previously sent messages.
UMS Drivers: UMS Drivers connect UMS to the messaging gateways, adapting content to the various protocols supported by UMS. Drivers can be deployed or undeployed independently of one another depending on what messaging channels are available in a given installation.
UMS Client applications: UMS client applications implement the business logic of sending and receiving messages. A UMS client application might be a SOA application that sends messages as one step of a BPEL workflow, or a WebCenter Spaces application that can send messages from a web interface.
In addition to the components that make up UMS itself, the other key entities in a messaging environment are the external gateways required for each messaging channel. These gateways are not a part of UMS or Oracle WebLogic Server. Since UMS Drivers support widely-adopted messaging protocols, UMS can be integrated with existing infrastructures such as a corporate e-mail servers or XMPP (Jabber) servers. Alternatively, UMS can connect to outside providers of SMS or text-to-speech services that support SMPP or VoiceXML, respectively.
The system architecture of Oracle User Messaging Service is shown in Figure 28-1.
For maximum flexibility, the components of UMS are separate Java EE applications. This allows them to be deployed and managed independently of one another. For example, a particular driver can be stopped and reconfigured without affecting message delivery on all other channels.
Exchanges between UMS client applications and the UMS Server occur as SOAP/HTTP web service requests for web service clients, or through Remote EJB and JMS calls for BPEL messaging activities. Exchanges between the UMS Server and UMS Drivers occur through JMS queues.
Oracle UMS server and drivers are installed alongside SOA or BAM in their respective WebLogic Server instances. A WebCenter installation includes the necessary libraries to act as a UMS client application, invoking a server deployed in a SOA instance.
Oracle User Messaging Service enables users to receive notifications sent from SOA applications that are developed and deployed to the Oracle WebLogic Server using Oracle JDeveloper.
At the application level, there is notification activity for a specific delivery channel (such as SMS or Email). For example, when you build a SOA application that sends e-mail notification, you drag and drop an Email Activity component from the JDeveloper Component Palette to the appropriate location within a workflow. The application connects then sends notifications.
For more information about Oracle JDeveloper, see your JDeveloper documentation.
To enable the workflow participants to receive and forward notifications, use Oracle 11g Enterprise Manager to set the Oracle User Messaging Service environment by configuring the appropriate driver instances that reside on the same Oracle WebLogic Server on which you deploy the workflow application (Figure 28-2). Oracle User Messaging Service includes drivers that support messaging through Email, IM, SMS and voice channels. For more information, see Section 28.4, "Configuring User Messaging Service Drivers".
Figure 28-2 Oracle Enterprise Manager 11g Fusion Middleware Control
In order for workflow participants to actually receive the notifications, they must register the devices that they use to access messages through User Messaging Preferences (Figure 28-3).
You configure User Messaging Service through Oracle Enterprise Manager Fusion Middleware Control. For more information on Oracle Enterprise Manager, see your Oracle Enterprise Manager documentation.
Use the Server Properties page to set deployment type for the Messaging Server (that is, select the storage method for run time and management data) and add (or remove) the User Messaging Preference Business Terms that are used for creating message filters.
Select Persistent (the default) to enable entries and the Messaging Store to persist when the server has been restarted. In the Transient mode (which is recommended for lightweight deployments), the Messaging Server does not maintain any data stored in the Messaging Store after a restart.
The Server Properties page enables you to add or remove the business terms used to construct the message filters in User Message Preferences. For more information about building messaging filters with business terms, refer to Adding Business Terms.
Note:
Business Terms are stored per server instance. If there are multiple instances (as in a cluster), then new business terms must be added to each instance individually.To add a business term to User Messaging Preferences:
Click Add.
Enter a descriptive name for the business term.
Select a data type (string, number, or date).
Click Apply.
Oracle User Messaging Service includes the following drivers.
Note:
For the cluster env, when you use separate messaging drivers for separate managed server nodes, all the drivers must be configured separately.UMS Messaging Drivers are configured per instance. Configuring only one does not populate the configuration values to the drivers on the other cluster nodes.
To configure a driver:
Log into the Enterprise Manager Fusion Middleware Control console as an administrator.
Expand the Fusion Middleware folder (Figure 28-4).
Navigate to the User Messaging Service Home page.
Click usermessagingserver(soa_server1). The Associated Drivers page appears.
Figure 28-5 Drivers Associated with the UMS Instance
Select the Local tab to access the drivers collocated with the UMS server instance. These drivers may or may not be registered with the UMS server depending on whether or not they are properly configured. The ALL tab lists all drivers that are deployed in the domain and registered to all the UMS server instances.
Find the e-mail driver in the list, and then click the adjacent Configure Driver icon.
The configuration page displays (Figure 28-6).
Figure 28-6 The Server Properties Page for a Selected Driver
If needed, expand the Driver-Specific Configuration section and configure the driver parameters. For more information, see Section 28.4.1.1, "About Driver Properties".
Oracle User Messaging Service drivers share common properties (listed in Table 28-1) that are used by the Messaging Engine when routing outbound messages. Typically, administrators set such Quality of Service (QoS) properties as driver cost (Cost) and driver speed (Speed), supported carriers (SupportedCarriers), and supported protocols (SupportedProtocols). Driver developers configure properties that typically do not require modification by the administrator, such as supported delivery types (SupportedDeliveryTypes), and supported content types (SupportedContentTypes).
Note:
Properties such as SendingQueuesInfo are for advanced use and only require modification for advanced deployment topologies.Table 28-1 Common Driver Properties
Name | Description | Mandatory Property? |
---|---|---|
Capability |
Sets the driver's capability to send or receive messages. The values are SEND, RECEIVE, and BOTH. |
Yes |
Cost |
The cost level of the driver (from 0 - 10). 0 is least expensive; 10 is most expensive. If the value is not in this range, cost is considered to be 0. |
No |
DefaultSenderAddress |
The default address of the sender. The driver uses these addresses when sending a message that has no sender address specified, or when the specified sender address is not in the sender addresses list and the driver does not support using the application-provided sender address. |
No |
SenderAddresses |
The list of sender addresses that the driver supports. If provided by the driver, the Messaging Engine can use this to route a sending message to the driver by matching against the sender address of the message. |
No |
SendingQueuesInfo |
The information for the Driver Sending Queue. |
Yes |
Speed |
The speed level of the driver (from 0-10, with 10 being the fastest). |
No |
SupportedCarriers |
A comma-delimited list of supported carriers. |
No |
SupportedContentTypes |
The content type supported by the driver. |
Yes |
SupportedDeliveryTypes |
The delivery types supported by the driver. |
Yes |
SupportedProtocols |
A comma-delimited list of supported protocols. Entering an asterisk (*) for any protocol. |
No |
SupportedStatusTypes |
The status types supported by the driver. |
No |
SupportsCancel |
Supports a Cancel operation on a message. |
No |
SupportsReplace |
Supports a Replace operation on a message. |
No |
SupportsStatusPolling |
For certain protocols, an active polling of the remote gateway must be performed to check the status of a message previously sent. This property indicates whether the driver supports such status polling. If set to true, the Messaging Engine invokes the driver connection's |
No |
SupportsTracking |
Supports Tracking operation on a message. |
No |
Sensitive driver properties (namely, passwords) can be stored securely in the credential store using Oracle Enterprise Manager. Properties are marked with the flag Encoded Credential and have a custom entry form field.
To store a sensitive driver property securely:
Go to the driver configuration page of the selected driver.
In the Driver-Specific Configuration section, locate the property with the Encoded Credential flag set.
Select the credential type (Depending on the selected credential type, you are prompted to enter the username and/or password.). There are three options:
Indirect password, create new user (default option)—specify the username and real password; the password is stored in the credential store with the username as part of the key. The key and a fixed folder (map name) are stored in the driver deployment's driverconfig.xml
.
Indirect password, use existing user—choose an existing username/key in the credential store (to reference the password you stored previously).
User a clear text password—specify the password, and it is stored directly in driverconfig.xml
.
click Apply to save the changes.
Restart the driver application or the container for the changes to take effect.
You can check the password in the driver deployment directory's driverconfig.xml. For an indirect password, the format is:
value="->mapName:keyName" (mapName is the driver target name, and the key is <parameter_name>.<username>)
For example, here is a sample entry in driverconfig.xml for an e-mail driver's OutgoingPassword property:
<Property value="-> /Farm_base_domain/base_domain/server_soa/usermessagingdriver-email: OutgoingPassword.ouser" encodedCredential="true" type="java.lang.String" mandatory="no" name="OutgoingPassword" description="oracle.sdp.messaging.EmailDriverConfig.outgoingPassword"/>
The extension driver extends the messaging capability of the User Messaging Service by enabling support for arbitrary administrator-defined channels (protocols) and delivering the notifications for such channels to an administrator-defined web service listener endpoint.
Note:
An instance of this driver is deployed, but not targeted to any servers in the default installation. To enable this driver instance, it must be targeted to the appropriate servers where UMS (usermessagingserver
) is running.$oracle_home/communications/applications/sdpmessagingdriver-extension.ear
These are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties (such as sendingqueuesinfo
) are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values see the JavaDoc for driverconfigpropertynames
.
Table 28-2 Extension Driver Common Properties
Name | Description | Mandatory? | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
Extension-Driver |
Capability |
Message sending and receiving capability |
Yes |
SEND |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
URI |
SupportedContentTypes |
Supported Content Types |
Yes |
text/plain, text/html, text/xml |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
|
Speed |
Speed |
No |
|
SupportedCarriers |
Supported Carriers |
No |
|
SupportedProtocols |
Supported Protocols |
No |
popup |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
|
DefaultSenderAddress |
Default Sender Address |
No |
|
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
|
This driver supports multiple configuration groups called extension endpoint groups. An extension endpoint group holds the configuration for a remote endpoint at which to deliver extension notifications. Each endpoint must have a distinct combination of protocol and mapped domain. The properties of the extension endpoint group are listed in Table 28-3:
Table 28-3 Extension Driver Custom Properties
Name | Description | Mandatory? |
---|---|---|
Group Name |
The name of this Extension Endpoint configuration group. |
Yes |
Endpoint URL |
Remote endpoint listener URL. |
Yes |
Mapped Domain |
This extension endpoint will be used to deliver messages where the domain part of the recipient URI matches this value. |
No |
Protocol |
This extension endpoint will be used to deliver messages where the protocol (scheme) part of the recipient URI matches this value. |
Yes |
Security Policies |
Comma-separated list of WS-Security policies to apply to this endpoint. |
No |
Username |
Username to propagate through WS-Security headers. |
No |
Keystore Alias |
Keystore Alias to use for looking up WS-Security policy public keys. |
No |
Credential Store Key |
Key to use for looking up WS-Security username and password from Oracle Web Services Management credential store map. |
No |
If the remote extension endpoint is secured using WS-Security, then additional configuration of the extension driver is required. There are two typical WS-Security configurations that are supported. The extension driver can either use SAML tokens or username tokens.
To use SAML tokens, the Security Policies configuration property should contain value oracle/wss11_saml_token_identity_switch_with_message_protection_client_policy
, and the Keystore Alias configuration property should contain a valid alias for keystore entries that will be accepted by the remote extension endpoint.
To use username tokens, the Security Policies configuration property should contain value oracle/wss11_username_token_with_message_protection_client_policy
, and the Credential Store Key configuration property should contain a valid alias for a credential store entry that will be accepted by the remote extension endpoint.
For more details about using WS-Security policies, see Oracle Fusion Middleware Security and Administrator's Guide for Web Services.
Table 28-4 describes whether the protocol or driver implementation honors the following message delivery related properties that are specified through the client API.
Perform the following steps to use the extension driver:
Implement and deploy a Web Service listener endpoint based on the MessagingNotifyService
WSDL (umsnotify.wsdl
):
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://xmlns.oracle.com/ucs/messaging/extension" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MessagingNotifyService" targetNamespace="http://xmlns.oracle.com/ucs/messaging/extension"> <wsdl:types> <xsd:schema targetNamespace="http://xmlns.oracle.com/ucs/messaging/extension"> <xsd:element name="notification"> <xsd:complexType> <xsd:sequence> <xsd:element name="messageId" type="xsd:string" minOccurs="0" maxOccurs="1"> <xsd:annotation> <xsd:documentation>Unique message identifier from User Messaging Service.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="sender" type="xsd:string"> <xsd:annotation> <xsd:documentation>The sender address.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="recipient" type="xsd:string"> <xsd:annotation> <xsd:documentation>The recipient address (typically username).</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="subject" type="xsd:string" minOccurs="0" maxOccurs="1"> <xsd:annotation> <xsd:documentation>The subject of the message, if available.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="contentType" type="xsd:string" default="text/plain"> <xsd:annotation> <xsd:documentation>The MIME type of the message. e.g. text/plain, text/html, text/xml.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="content" type="xsd:string"> <xsd:annotation> <xsd:documentation>The main body of the message. Textual content only (no binary content).</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="parameters" type="tns:parameter" minOccurs="0" maxOccurs="unbounded"> <xsd:annotation> <xsd:documentation>Additional key-value pairs. This interface does not define any specific key-value pair meanings. Use of such parameters is defined on a private basis by particular implementations of this interface.</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:complexType name="parameter"> <xsd:sequence> <xsd:element name="name" type="xsd:string"> <xsd:annotation> <xsd:documentation>Parameter name</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="value" type="xsd:string"> <xsd:annotation> <xsd:documentation>Parameter value</xsd:documentation> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:element name="notificationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="messageId" type="xsd:string" minOccurs="0" maxOccurs="1"> <xsd:annotation> <xsd:documentation>A message identifier returned in response to successfully accepting the message. If returned, the identifier should be unique. Note: A fault is raised if the message cannot be accepted.</xsd:documentation> </xsd:annotation></xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="notificationFault"> <xsd:complexType> <xsd:sequence> <xsd:element name="code" type="xsd:string"/> <xsd:element name="message" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="notifyRequest"> <wsdl:part element="tns:notification" name="parameters" /> </wsdl:message> <wsdl:message name="notifyResponse"> <wsdl:part element="tns:notificationResponse" name="parameters"/> </wsdl:message> <wsdl:message name="notifyException"> <wsdl:part element="tns:notificationFault" name="parameters"/> </wsdl:message> <wsdl:portType name="Notify"> <wsdl:operation name="invoke"> <wsdl:input message="tns:notifyRequest"/> <wsdl:output message="tns:notifyResponse"/> <wsdl:fault message="tns:notifyException" name="NotifyException"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="NotifySOAPBinding" type="tns:Notify"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="invoke"> <soap:operation soapAction="http://www.oracle.com/ucs/messaging/extension" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> <wsdl:fault name="NotifyException"> <soap:fault name="NotifyException" use="literal"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:service name="NotifyService"> <wsdl:port binding="tns:NotifySOAPBinding" name="Notify"> <soap:address location="http://localhost:8001/NotifyService"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
Configure the Extension Driver.
Target the pre-deployed extension driver called usermessagingdriver-extension
or a new deployment to the appropriate servers where UMS (usermessagingserver
) is running and start the driver.
In Enterprise Manager Fusion Middleware Control, navigate to the usermessagingserver
Home Page. Click User Messaging Service > Driver Properties.
Select and Edit the driver usermessagingdriver-extension
or Create a new driver with the same name as your new driver deployment.
Under Driver-Specific Configuration, add a new Extension Endpoint configuration group and specify the correct properties: EndpointURL is the URL to the web service listener endpoint created in Step 0 Protocol is the value of the new messaging channel for which you want to add notification support (for example: popup).
Under Common Configuration, update Supported Protocols with a comma-separated list of protocols defined in each Extension Endpoint group.
Click OK to save the configuration.
This completes the configuration and integration of a new messaging channel (protocol) in UMS using the Extension Driver.
To send notifications to this new channel (protocol), recipients must be specified for the URI delivery type using the URI addressing format URI:
<scheme>
:
<scheme-specific-address-value>
, where <scheme>
is the protocol. The URI delivery type is optional. For example, if the extension driver was configured to support the protocol popup, an application can compose a message to popup:john.doe@example.com.
End users can also declare their messaging preferences by creating a new Messaging Channel for the new channel type in the Worklist/UMS Preferences UI. Note that user preferences are only applied when applications send user-based notifications (that is, to recipients of the form USER:username
).
Note:
Proper configuration of SSL/TLS in the Oracle WebLogic Server container is a pre-requisite for secure connections between UMS and the email server. See "Configuring SSL" in Oracle Fusion Middleware Securing Oracle WebLogic Server.The e-mail driver both sends and receives messages (that is, its capability property is set to both by default). The e-mail driver sends messages over SMTP and uses either IMAP and POP3 for receiving messages.
This section details interoperability features of the e-mail driver.
The e-mail driver is compatible with these protocols: pop3, imap4, and SMTP.
E-mail driver features include:
automatic connection retry
smtp for message sending
imap4 and pop3 for message receiving (using polling)
scalable, highly available
prevents message loss and avoids duplication
the gateway vendors and versions in Table 28-5 have been verified.
these are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. some properties such as sendingqueuesinfo are for advanced use and only require modification for advanced deployment topologies. for a complete description of these properties and available values refer to the javadoc of driverconfigpropertynames.
Table 28-6 Common Email Properties
Name | Description | Mandatory | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
Email-Driver |
Capability |
Message sending and receiving capability |
Yes |
Both |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
|
SupportedContentTypes |
Supported Content Types |
Yes |
text/plain, text/html, multipart/mixed, multipart/alternative, multipart/related |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE, USER_REPLY_ACKNOWLEDGEMENT_SUCCESS, USER_REPLY_ACKNOWLEDGEMENT_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
Supported Carriers |
No |
N/A |
Supported Protocols |
Supported Protocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
these are properties specific to this driver and are generally associated with configuring access to the remote gateway and certain protocol or channel-specific behavior.
Table 28-7 Custom Email Properties
Name | Description | Mandatory? | Default Value |
---|---|---|---|
MailAccessProtocol |
E-mail receiving protocol. The possible values are IMAP and POP3. Required only if e-mail receiving is supported on the driver instance. |
No |
IMAP |
RetryLimit |
This value specifies the number of times to retry connecting to the incoming mail server, if the connection is lost due to some reason. The default value is -1 which means no limit to the number of tries. |
No |
-1 |
MailDelFreq |
The frequency to permanently remove deleted messages. The unit is in seconds and the default value is 600 seconds. A negative value indicates the messages should not be expunged. For the POP3 protocol, the message is expunged after it is processed. |
No |
600 |
AutoDelete |
This value indicates if the driver should mark the messages deleted after they have been processed. The default is Disabled. For the POP3 protocol, the messages are always deleted right after they are processed. |
No |
Disabled |
Debug |
This value indicates if the driver is running in Debug mode. When enabled, JavaMail will print out requests and responses between the e-mail driver and the mail server to the console. The default is Disabled. |
No |
Disabled |
CheckMailFreq |
The frequency with which to retrieve messages from the mail server. The unit is in seconds and the default value is 30 seconds. |
No |
30 |
ReceiveFolder |
The name of the folder the driver is polling messages from. The default value is INBOX. |
No |
INBOX |
OutgoingMailServer |
The name of the SMTP server. Mandatory only if e-mail sending is required. |
No |
N/A |
OutgoingMailServerPort |
The port number of the SMTP server; typically 25. |
No |
25 |
OutgoingMailServerSecurity |
The security setting used by the SMTP server. Possible values are None, TLS and SSL. Default value is None. |
No |
None |
OutgoingDefaultFromAddr |
The default FROM address (if one is not provided in the outgoing message). |
No |
N/A |
OutgoingUsername |
The username used for SMTP authentication. Required only if SMTP authentication is supported by the SMTP server. |
No |
N/A |
OutgoingPassword |
The password used for SMTP authentication. Required only if SMTP authentication is supported by the SMTP server. Includes Type of Password (choose from Indirect Password/Create New User, Indirect Password/Use Existing User, Use Cleartext Password) and Password. |
No |
N/A |
IncomingMailServer |
The host name of the incoming mail server. Required only if e-mail receiving is supported on the driver instance. |
No |
N/A |
IncomingMailServerPort |
Port number of IMAP4 (that is, 143 or 993) or POP3 (that is, 110 or 995) server. |
No |
N/A |
IncomingMailServerSSL |
Indication to enable SSL when connecting to IMAP4 or POP3 server. The default is Disabled. |
No |
Disabled |
IncomingMailIDs |
The e-mail addresses corresponding to the user names. Each e-mail address is separated by a comma and must reside in the same position in the list as their corresponding user name appears on the usernames list. Required only if e-mail receiving is supported on the driver instance. |
No |
N/A |
IncomingUserIDs |
The list of user names of the mail accounts the driver instance is polling from. Each name must be separated by a comma, for example, foo,bar. Required only if e-mail receiving is supported on the driver instance. |
No |
N/A |
IncomingUserPasswords |
The list of passwords corresponding to the user names. Each password is separated by a comma and must reside in the same position in the list as their corresponding user name appears on the usernames list. Required only if e-mail receiving is supported on the driver instance. Includes Type of Password (choose from Indirect Password/Create New User, Indirect Password/Use Existing User, Use Cleartext Password) and Password. |
No |
N/A |
ProcessingChunkSize |
The number of messages processed during each message polling. The default is 100. |
No |
100 |
ImapAuthPlainDisable |
Indication to disable or enable plain text authentication ( |
No |
Disabled. When this property is disabled, that means that plain text is allowed. |
these properties are message delivery related which are specified through client API. Table 28-8 describes if the protocol or driver implementation honors such properties.
SMPP (Short Message Peer-to-Peer) is one of the most popular GSM SMS protocols. User Messaging Service includes a pre-built implementation of the SMPP protocol as a driver that is capable of both sending and receiving short messages. If the sending feature is enabled, the SMPP driver opens one TCP connection to the SMS-C (Short Message Service Center) as a transmitter for sending. If the driver's receiving feature is enabled, it opens another connection to the SMS-C as a receiver for receiving. Only two TCP connections (both initiated by the driver) are needed for all communication between the driver and the SMS-C.
Note:
The SMPP Driver implements Version 3.4 of the SMPP protocol and only supports connections to an SMS-C or an SMS Gateway that supports this version.This section details interoperability features of the SMPP Driver.
The SMPP driver is compatible with these protocols: SMPP v3.4.
SMPP Driver features include:
Automatic connection retry
HTTP proxy for firewall traversal
Authentication configuration
Configurable chunk size
Bulk Sending
Encoding: UCS2, IA5, GSM_DEFAULT
Priority Setting
Configurable Window size
Plain text content only
The Gateway Vendors in Table 28-9 have been verified.
These are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties such as SendingQueuesInfo are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values refer to the javadoc of DriverConfigPropertyNames.
Table 28-10 Common SMPP Properties
Name | Description | Mandatory | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
SMPP-Driver |
Capability |
Message sending and receiving capability |
Yes |
Both |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
SMS |
SupportedContentTypes |
Supported Content Types |
Yes |
text/plain |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
Supported Carriers |
No |
N/A |
Supported Protocols |
Supported Protocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
These are properties specific to this driver and are generally associated with configuring access to the remote gateway and certain protocol or channel-specific behavior.
Table 28-11 Custom SMPP Properties
Name | Description | Mandatory? | Default Value |
---|---|---|---|
SmsAccountId |
The Account Identifier on the SMS-C. |
Yes |
N/A |
SmsServerHost |
The name (or IP address) of the SMS-C server. |
Yes |
N/A |
TransmitterSystemId |
The account ID that is used to send messages. |
Yes |
N/A |
ReceiverSystemId |
The account ID that is used to receive messages. |
Yes |
N/A |
TransmitterSystemType |
The type of transmitter system. The default is Logica. |
Yes |
The default value is Logica. |
ReceiverSystemType |
The type of receiver system. The default is Logica. |
Yes |
The default value is Logica. |
TransmitterSystemPassword |
The password of the transmitter system. Includes Type of Password (choose from Indirect Password/Create New User, Indirect Password/Use Existing User, Use Cleartext Password) and Password. |
Yes |
N/A |
ReceiverSystemPassword |
The password for the receiver system. Includes Type of Password (choose from Indirect Password/Create New User, Indirect Password/Use Existing User, Use Cleartext Password) and Password. |
Yes |
N/A |
ServerTransmitterPort |
The TCP port number of the transmitter server. |
Yes |
N/A |
ServerReceiverPort |
The TCP port number of the receiver server. |
Yes |
N/A |
DefaultEncoding |
The default encoding of the SMPP driver. The default is IA5. Choose from the drop-down list: IA5, UCS2, GSM_DEFAULT. |
No |
IA5 |
EncodingAutoDetect |
If enabled, the SMPP driver encodes automatically. Default is Enabled. |
No |
Enabled |
LocalSendingPort |
The local TCP port used by the SMPP driver to send messages to the SMS-C. |
No |
N/A |
LocalReceivingPort |
The local TCP port used by the SMPP driver to receive messages from the SMS-C. |
No |
N/A |
LocalAddress |
The host name (or IP address) of the server that hosts the SMPP driver. |
No |
N/A |
WindowSize |
The window size for SMS. This value must be a positive number. Default is 1. |
No |
1 |
EnquireInterval |
The interval, in seconds, to send an enquire message to the SMS-C. Default is 30 seconds. |
No |
30 |
ThrottleDelay |
The delay, in seconds, between throttles. Default is 30. |
No |
30 |
BindRetryDelay |
The minimum delay, in seconds, between bind entry attempts. Default is 30. |
No |
30 |
ResponseTimer |
Time lapse allowed between SMPP request and response, in seconds. Default is 30. |
No |
30 |
RegisteredDeliveryMask |
The Registered Delivery Bit Mask. Default is 0xFF, which does not change the delivery flag value. |
No |
0xFF |
RangeSetNull |
Set to true to set the address range field of BIND_RECEIVER to null. Set to false (the default value) to set the address range field to SmsSystemId. Default is Disabled. |
No |
Disabled |
PriorityAllowed |
The highest priority allowed for the SMPP driver. The range is 0 (normal) to 3 (highest). Default is 0. |
No |
0 |
BulkSending |
Setting this value to enabled (the default) enables sending messages in bulk to the SMS-C. |
No. |
Enabled |
PayloadSending |
Determines if the |
No |
Disabled |
SourceTon |
The Type of Number (TON) for ESME address(es) served through SMPP receiver session. Default is 0. |
No |
0 |
SourceNpi |
The Numbering Plan Indicator (NPI) for ESME address(es) served through the SMPP receiver session. Default is 0. |
No |
0 |
DestinationTon |
The Type of Number (TON) for destination. Default is 0. |
No |
0 |
DestinationNpi |
The Numbering Plan Indicator (NPI) for destination. Default is 0. |
No |
0 |
ExtraErrorCode |
A comma-separated list of error codes. |
No |
N/A |
MaxChunks |
The maximum SMS chunks for a message. Default is -1 (no maximum). |
No |
-1 (no maximum) |
ChunkSize |
The size of each SMS message chunk. Default is 160. |
No |
160 |
LongMessageSending |
Supports sending long messages. Default is Disabled. |
No |
Disabled |
DatagramMessageMode |
Supports Datagram Message mode. Default is Disabled. |
No |
Disabled |
These properties are message delivery related which are specified through client API. Table 28-12 describes if the protocol or driver implementation honors such properties.
The XMPP Driver provides unidirectional as well as bidirectional access from Oracle Fusion Middleware to end users for real-time instant messaging (IM) through XMPP (Extensible Messaging and Presence Protocol). This driver enables end users to receive alert notifications or interactively chat with applications through their IM client of choice.
XMPP is an open, XML-based protocol for Instant Messaging and Presence. XMPP-based software is deployed on thousands of servers across the Internet and is used by millions of people worldwide. XMPP consists of a client/server architecture, which resembles the ubiquitous e-mail network. XMPP servers are completely decentralized, allowing anyone to set up their own server. Messaging is achieved as in the e-mail network, where recipients are addressed by an XMPP ID (or Jabber ID or JID) with the following form: [username]@domain[/resource]
. Please refer to RFC 3920 for details on the addressing scheme.
In an XMPP network, users identified by their XMPP IDs as mentioned above (which typically consist of a username and the domain of the XMPP server to which the user connects). An end user of XMPP connects to an XMPP server using an XMPP client in order to send instant messages to other XMPP users. XMPP, however, is not the only protocol network available for instant messaging. XMPP has an extensible and modular architecture. It integrates with proprietary IM networks, enabling XMPP users to communicate with those on other networks.
In order to use the XMPP Driver in UMS, you must have access to a Jabber/XMPP server and an XMPP account for the UMS XMPP Driver instance to login as.
This section details interoperability features of the XMPP Driver.
The XMPP driver is compatible with these protocols: XMPP (RFC 3920, 3921).
XMPP Driver features include:
Automatic connection retry
HTTP proxy for firewall traversal
Plain text content only
In addition to Oracle Beehive, the Gateway Vendors and Versions in Table 28-9 have been verified.
The XMPP Driver uses or requires the following third-party software (you may optionally choose to install and configure your own XMPP server):
Table 28-14 Required Third-Party Software
Name | Instructions | Version(s) |
---|---|---|
Apache Smack |
This driver uses the Apache Smack XMPP Java library to connect to a Jabber/XMPP Instant Messaging Server. This driver includes a licensed copy of Smack (version 3.0.4). |
3.0.4 |
Note:
You are not required to install your own XMPP Server if you have access to an existing server. For a list of public servers, see http://www.jabber.org.$ORACLE_HOME/communications/applications/sdpmessagingdriver-xmpp.ear
These are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties such as SendingQueuesInfo are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values refer to the javadoc of DriverConfigPropertyNames.
Table 28-15 Common XMPP Properties
Name | Description | Mandatory | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
XMPP-IM-Driver |
Capability |
Message sending and receiving capability |
Yes |
Both |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
IM |
SupportedContentTypes |
Supported Content Types |
Yes |
text/plain |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
Supported Carriers |
No |
N/A |
Supported Protocols |
Supported Protocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
The XMPP Driver includes the custom properties shown below.
Table 28-16 Custom XMPP Properties
Name | Description | Mandatory | Default Values |
---|---|---|---|
IMServerHost |
Jabber/XMPP server hostname. |
No |
N/A |
IMServerPort |
Corresponding Jabber/XMPP server port. Default is 5222. |
Yes |
5222 |
IMServerUsername |
Jabber/XMPP username with which you log in. You may also enter a complete Jabber ID if its domain name is different from the Jabber/XMPP server hostname (for example: |
No |
N/A |
IMServerPassword |
Corresponding password for the username listed above. Includes Type of Password (choose from Indirect Password/Create New User, Indirect Password/Use Existing User, Use Cleartext Password) and Password. |
No |
N/A |
SecurityMode |
Security mode to use when making a connection to the server. Available options are: None (Security is disabled and only un-encrypted connections will be used), TLS (Security through TLS encryption is used whenever it is available), SSL (Security through SSL encryption is used). Default is TLS. |
No |
TLS |
SASLAuthenticationEnabled |
Whether or not to use SASL authentication when logging into the server. If SASL authentication fails, then the driver will try to use non-SASL authentication. By default, SASL is enabled. |
No |
Enabled |
The VoiceXML Driver supports the Genesys VoiceGenie gateway's outbound call protocol to send messages authored in VoiceXML. The gateway delivers the message using text-to-speech synthesis.
This section details interoperability features of the VoiceXML Driver.
The VoiceXML driver is compatible with these protocols: VoiceXML over HTTP (VoiceGenie gateway protocol).
VoiceXML Driver features include:
VoiceXML content only
The Gateway Vendor and Version in Table 28-18 has been verified.
These are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties such as SendingQueuesInfo are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values refer to the javadoc of DriverConfigPropertyNames.
Table 28-19 Common VoiceXML Properties
Name | Description | Mandatory | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
VoiceXML-Driver |
Capability |
Message sending and receiving capability |
Yes |
SEND |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
VOICE |
SupportedContentTypes |
Supported Content Types |
Yes |
text/vxml, text/x-vxml |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
Supported Carriers |
No |
N/A |
Supported Protocols |
Supported Protocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
The VoiceXML Driver includes the custom properties shown below.
Table 28-20 Custom VoiceXML Properties
Name | Description | Mandatory | Default Values |
---|---|---|---|
VoiceXMLOutboundServletURI |
The URL of the VoiceXML gateway. |
Yes |
N/A |
VoiceXMLOutboundServletUserName |
The user name of the VoiceXML gateway. |
No |
N/A |
VoiceXMLOutboundServletPassword |
The password of the user of the VoiceXML gateway. |
No |
N/A |
VoiceXMLOutboundServletDNIS |
The number that should appear in the recipient's Caller ID display. |
No |
N/A |
VoiceXMLReceiveURL |
The URL of this driver's servlet which handles incoming requests from the VoiceXML Gateway. The format is |
No |
N/A |
Note:
In a clustered (high-availability) environment with Oracle HTTP Server (OHS) configured, do not use the OHS port to configure the VoiceXML Driver Receive URLs. Using the OHS port to configure the VoiceXML Driver Receive URLs will cause a conflict with the drivers.Each Voice XML Driver must be configured with its own WLS server's port.
The Worklist driver enables notifications from all sources to be sent to users in the form of worklist tasks for integration into the users' WebCenter Unified Worklist.
Note:
Worklist Message tasks are accessible both through a WebCenter that has been configured to search the BPEL connection that the Worklist message driver is sending messages to, as well as through the BPEL Worklist application. The BPEL Worklist Application also shows these message-based tasks as Worklist items.This integration is achieved by exposing a Worklist channel (delivery type) to applications and end users. Messages sent through the user's Worklist channel are processed by the Worklist driver.
Note:
The Worklist channel supports all rich text tags supported by theaf:richTextEditor
for the text/html content type. For more information about Rich Text Editor, see <af:richTextEditor>The User Messaging Service API semantics are the same as those for existing channels such as IM or Email. This driver handles sending messages only. The Driver Application Archive (EAR) is located at: $ORACLE_HOME/communications/applications/sdpmessagingdriver-worklist.ear
You can install the Worklist Driver onto an Oracle WebLogic platform, or onto an IBM WebSphere platform. Choose the appropriate installation instructions below.
To enable the messaging worklist feature, the WebLogic SOA domain must be extended using the extension template available at $ORACLE_HOME/common/templates/applications/oracle.ums.driver.worklist_template_11.1.1.jar
. To extend a SOA domain using the Oracle Fusion Middleware Configuration Wizard:
Launch Oracle Fusion Middleware Configuration Wizard ($ORACLE_HOME/common/bin/config.sh or %ORACLE_HOME%\common\bin\config.cmd
).
Select the Extend an existing WebLogic domain option.
Select the desired SOA domain directory.
Select the Extend my domain using an existing extension template option.
Click Browse, and navigate to $ORACLE_HOME/common/templates/applications
Select oracle.ums.driver.worklist_template_11.1.1.jar
Complete the remaining steps of the Oracle Fusion Middleware Configuration Wizard, and restart the SOA servers.
Note:
Special Considerations if the SOA managed server is on a remote computer: Theoracle.ums.driver.worklist_template_11.1.1.jar
extension template includes a SOA composite application (sca_sdpmessagingsca-worklist-composite_rev1.0.jar
) that is copied to $DOMAIN_HOME/soa/autodeploy
, and is auto-deployed by the SOA Infra run time upon server restart. However, if the SOA Infra run time is on a remote computer, and the domain is packed with the -managed=true option (the correct option to use), this directory is not included in the archive. Thus, the composite is not deployed upon restarting the SOA managed server.
In order to complete the installation, copy the contents of $DOMAIN_HOME/soa/autodeploy
from the AdminServer computer to the corresponding location on the remote computer with the SOA managed server, and restart the SOA managed server. You may have to create the directory structure soa/autodeploy
under $DOMAIN_HOME
on the remote computer.
To enable the messaging worklist feature, the WebSphere SOA cell must be extended using the extension template available at $ORACLE_HOME/common/templates/was/oracle.ums.driver.worklist_template_11.1.1.jar
. To extend a SOA cell using the Oracle Fusion Middleware Configuration Wizard:
Set the environment variable CONFIG_JVM_ARGS
with the value -DTemplateCatalog.enable.selectable.all=true
. For example, in Linux bash shell: exportCONFIG_JVM_ARGS="-DTemplateCatalog.enable.selectable.all=true"
At the Windows command prompt: set CONFIG_JVM_ARGS=-DTemplateCatalog.enable.selectable.all=true
Launch Oracle Fusion Middleware Configuration Wizard ($ORACLE_HOME/common/bin/was_config.sh
or %ORACLE_HOME%\common\bin\was_config.cmd
).
Click Select and Configure Existing Cell.
Select the desired SOA cell and click Next.
Select Oracle User Messaging Service Worklist Driver on the Add Products to Cell screen and click Next.
Complete the remaining steps of the Oracle Fusion Middleware Configuration Wizard with default selections, and restart the SOA cell.
The following common driver properties are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties such as SendingQueuesInfo
are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values see the javadoc of DriverConfigPropertyNames
.
Table 28-22 Common Worklist Properties
Name | Description | Mandatory? | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
Worklist-Driver |
Capability |
Message sending and receiving capability |
Yes |
SEND |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
WORKLIST |
SupportedContentTypes |
Supported Content Types |
Yes |
text/plain, text/html |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
SupportedCarriers |
No |
N/A |
SupportedProtocols |
SupportedProtocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
The Proxy Driver acts as a Messaging Web Service client to a Fusion Middleware Messaging server hosted elsewhere in the intranet or Internet. It uses SOAP over HTTP (the Parlay X Multimedia Web Service protocol) to send messages and receive messages as well as return message delivery status. The ParlayX Web Service relays messages from one UMS instance to another. It can be used to relay traffic from multiple instances in an Intranet to a terminating instance that has all of the protocol-specific drivers configured to an external gateway such as an SMSC, or to an SMTP or IMAP mail server.
These are common driver properties that are indicative of the capabilities of this driver for use by the engine when routing outbound messages. Some properties are set by the driver developer and do not normally require modification, while others can be modified by the administrator to change the routing behavior. Some properties such as SendingQueuesInfo are for advanced use and only require modification for advanced deployment topologies. For a complete description of these properties and available values refer to the javadoc of DriverConfigPropertyNames.
Table 28-25 Common Proxy Properties
Name | Description | Mandatory | Default Value |
---|---|---|---|
InstanceName |
Instance Name (for internal use only) |
Yes |
Proxy-Driver |
Capability |
Message sending and receiving capability |
Yes |
SEND |
SupportedDeliveryTypes |
Supported Delivery Types |
Yes |
EMAIL, SMS, VOICE, IM, WORKLIST |
SupportedContentTypes |
Supported Content Types |
Yes |
* |
SupportedStatusTypes |
Supported Status Types |
No |
DELIVERY_TO_GATEWAY_SUCCESS, DELIVERY_TO_GATEWAY_FAILURE |
Cost |
Cost |
No |
N/A |
Speed |
Speed |
No |
N/A |
SupportedCarriers |
Supported Carriers |
No |
N/A |
Supported Protocols |
Supported Protocols |
No |
N/A |
SupportsCancel |
Supports Cancel Operation on the Message |
No |
False |
SupportsReplace |
Supports Replace Operation on the Message |
No |
False |
SupportsTracking |
Supports Tracking Operation on the Message |
No |
False |
SupportsStatusPolling |
Supports Status Polling Operation on the Message |
No |
False |
SenderAddresses |
Sender Addresses |
No |
N/A |
DefaultSenderAddress |
Default Sender Address |
No |
N/A |
SendingQueuesInfo |
Driver Sending Queue Info |
Yes |
OraSDPM/QueueConnectionFactory:OraSDPM/Queues/OraSDPMDriverDefSndQ1 |
The Proxy Driver includes the custom properties shown below.
Table 28-26 Custom Proxy Properties
Name | Description | Mandatory | Default Values |
---|---|---|---|
GatewayURL |
The URL to the hosted 11g UMS Web Service gateway. The URL is in the following format: http://<host>:<port>/sdpmessaging/parlayx/SendMessageService |
Yes |
N/A |
Username |
Username of the messaging gateway. |
No |
N/A |
Password |
The password of the username |
No |
N/A |
Policies |
Comma-delimited list of Oracle Web Services Manager WS-Security policies to be attached to proxy driver requests |
No |
N/A |
The User Messaging Preferences User Interface and the Parlay X Web Services can be secured at the transport-level using Secure Sockets Layer (SSL). By default, all deployed web services are unsecured. Web Service Security should be enabled for any services that are deployed in a production environment.
To enable SSL in the Oracle WebLogic Server, see "Configure SSL for Oracle WebLogic Server" in the Oracle Fusion Middleware Administrator's Guide. This step is sufficient to secure the User Messaging Preferences User Interface.
To secure the Parlay X Web Services, see "Configuring Transport-Level Security" in the Securing WebLogic Web Services.
UMS supports the use of Oracle Web Services Manager WS-Security policies to protect UMS web services. For more information about Oracle Web Services Manager, see "Using Oracle Web Service Security Policies", in Oracle Fusion Middleware Securing WebLogic Web Services for Oracle WebLogic Server.
The recommended security configuration for web services uses Security Assertion Markup Language (SAML) tokens to pass identities between web service clients and UMS. With SAML tokens, instead of the web service client passing a username and password to UMS, a trust relationship is established between the client and UMS by means of exchanging certificates. Once this keystore configuration is in place, the web service client passes only the user identity, and vouches for the fact that it has authenticated the user appropriately.
The recommended policies to use for UMS web services are:
oracle/wss11_saml_token_with_message_protection_service_policy (server-side)
oracle/wss11_saml_token_with_message_protection_client_policy (client-side)
oracle/wss11_saml_token_identity_switch_with_message_protection_client_policy (client-side)
Note:
The choice of client-side policy depends on the security context in which your application is executing.If the thread that is making the web service call has the intended Subject associated with it (for example, from a web application that performs user authentication, or a Java EE module with a run-as identity defined), then use the policy oracle/wss11_saml_token_with_message_protection_client_policy
.
The current thread Subject will be passed through using the SAML Policy WS-Security headers. In this case you should not specify the parameter javax.xml.ws.BindingProvider.USERNAME_PROPERTY
when creating your web service client instance.
If the thread that is making the web service call will have an undefined Subject associated with it, or if you need to programmatically supply a different identity, then use the policy oracle/wss11_saml_token_identity_switch_with_message_protection_client_policy
, and specify the parameter javax.xml.ws.BindingProvider.USERNAME_PROPERTY
when creating your web service client instance. If you want to perform dynamic identity switching, you must grant additional code permissions to your application. For more information, see Oracle Fusion Middleware Security and Administrator's Guide for Web Services.
The different Web services include corresponding notification Web services (MessageNotification
, PresenceNotification
) that run on the client side and receive notifications (message delivery status, message receipt, presence status change) when the appropriate event occurs.
This implementation does not provide for the use of Web Service security (WS-Security) by default during notification of the clients. That is, the server assumes that the notification Web services running on the client side do not use WS-Security, and makes no attempt to authenticate itself when sending notifications. If you enable WS-Security on the client side, the notification from the server fails because the notification SOAP request is missing the required headers.
To enable a policy for an UMS web service, follow the steps in "Configuring Oracle WSM Security Policies in Administration Console" in Oracle Fusion Middleware Securing WebLogic Web Services for Oracle WebLogic Server, selecting policy oracle/wss11_saml_token_with_message_protection_service_policy
. This configuration must be repeated for each service that you want to secure.
Web service client security must be enabled programmatically. When using the client libraries described in Parlay X Messaging Client API and Client Proxy Packages (in Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite), WS-Security policy configuration is provided when a client object is constructed. The client constructors take an argument of type Map<String, Object>
. In general when using SAML authentication, the key/value pairs (Table 28-28) should be added to the configuration map in addition to other required properties such as the endpoint address.
Table 28-28 Client security keys
Key | Type | Typical Value |
---|---|---|
|
String[] |
|
|
String |
|
|
String |
(optional) keystore alias for target service. See Client Aliases. |
Example 28-1 Web Service Client Security
import oracle.sdp.parlayx.multimedia_messaging.send.SendMessageClient ... Map<String, Object> config = new HashMap<String, Object>(); config.put(javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ums_url); config.put(oracle.sdp.parlayx.ParlayXConstants.POLICIES, new String[] {"oracle/wss11_saml_token_with_message_protection_client_policy"}); config.put(javax.xml.ws.BindingProvider.USERNAME_PROPERTY, "test.user1"); SendMessageClient sendClient = new SendMessageClient(config);
In order to use the recommended WS-Security policy, you must configure a keystore containing the public and private key information required by OWSM. Refer to "Configuring the Credential Store Using WLST" in Oracle Fusion Middleware Securing WebLogic Web Services for Oracle WebLogic Server for information on how to configure the keystore and corresponding credential store entries.
If both your web service client and UMS server are in the same domain, then they share a keystore and credential store.
If your web service client and UMS server are in different domains, then you must import the UMS public key into your client domain's keystore, and must import your client domain's public key into the UMS keystore.
When using certain WS-Security policies such as the SAML policy recommended here, the client must use the server's public key to encrypt the web service request. However, there is generally only one keystore configured per domain. Therefore, if you have a domain in which there are web service clients that communicate with web services in multiple other domains, then you may be required to override the default keystore entry used by OWSM.
For example, if you have a domain in which application "A" is a web service client to a UMS web service, and application "B" is a web service client to a web service in another domain, then A's requests must be encrypted using the public key of the UMS domain, and B's requests must be encrypted using the public key of the other domain. You can accomplish this goal by overriding the keystore alias used by OWSM for each request:
Import (for example) the UMS public key with alias "ums_public_key", and the other public key with alias "other_public_key".
When creating an UMS web service client, specify the recipient keystore alias parameter, setting the key to oracle.wsm.security.util.SecurityConstants.Config.KEYSTORE_RECIPIENT_ALIAS_PROPERTY
and the value to "ums_public_key" as shown in Example 28-2.
Example 28-2 Client Aliases
import oracle.sdp.parlayx.multimedia_messaging.send.SendMessageClient ... Map<String, Object> config = new HashMap<String, Object>(); config.put(javax.xml.ws.BindingProvider.ENDPOINT_ADDRESS_PROPERTY, ums_url); config.put(oracle.sdp.parlayx.ParlayXConstants.POLICIES, new String[] {"oracle/wss11_saml_token_with_message_protection_client_policy"}); config.put(javax.xml.ws.BindingProvider.USERNAME_PROPERTY, "test.user1"); config.put(oracle.wsm.security.util.SecurityConstants.Config.KEYSTORE_RECIPIENT_ALIAS_PROPERTY, "ums_public_key") SendMessageClient sendClient = new SendMessageClient(config);
The other web service client similarly must override the keystore alias, but the exact mechanism may differ. For example if using a JAX-WS client stub directly, then you can add the override property to the JAX-WS request context. See "Policy Configuration Overrides for the Web Service Client" in Oracle Fusion Middleware Securing WebLogic Web Services for Oracle WebLogic Server for more details.
This (optional) procedure enables administrators to restrict access to the Oracle User Messaging Service's JMS resources (such as queues) for enhanced security.
Note:
This section details steps to follow in order to secure JMS Resources. If you are starting with a new installation (Patch Set 2) of Oracle User Messaging Service, then follow these steps.If you are not upgrading to Patch Set 2, then these instructions are not to be used.
If you previously created a domain in an earlier release and are upgrading, but have not already done so, then complete the steps in the latest Release Notes before proceeding.
To secure the JMS system resources, lock all JMS sub-deployments that start with the name UMSJMSSystemResource (there may be multiple automatically-created resources for UMS in a multi-server or cluster deployment) with the role OracleSystemRole. Do this using the WebLogic Console, or you may run a WLST script (available at $ORACLE_HOME/communications/bin/secure_jms_system_resource.py
) as follows:
$ORACLE_HOME/common/bin/wlst.sh $ORACLE_HOME/communications/bin/secure_jms_system_resource.py --username=<admin_username> --password=<password> --url=t3://<admin-host>:<admin-port> --jmsSystemResource <UMSJMSSystemResource> --role OracleSystemRole
For example:
$ORACLE_HOME/common/bin/wlst.sh $ORACLE_HOME/communications/bin/secure_jms_system_resource.py --username=weblogic --password=<password> --url=t3://localhost:7001 --jmsSystemResource UMSJMSSystemResource --role OracleSystemRole
By default, the UMS system runs as the user OracleSystemUser for accessing JMS resources. If the user OracleSystemUser does not exist, or you secure the UMS JMS resources with any other role that some other user has been granted, you must override the default user identity used by the UMS system by specifying an alternate username for the following JVM system property when you start the container:
oracle.ums.system.user=<username>
For example, if the user is MySystemUser, you can pass the JVM system property on command line as: -Doracle.ums.system.user=MySystemUser
To debug User Messaging Service, first check the server diagnostic logs. The logs may contain exception, error, or warning messages that provide details about incorrect behavior along with actions to remedy the problem. The following table describes additional methods for debugging common User Messaging Service problems.
Table 28-29 Troubleshooting UMS
Symptom | Possible Causes | Solutions |
---|---|---|
Notifications are not being sent from BPEL or Human Workflow components in SOA. |
Notification Mode is set to NONE in SOA Workflow Notification configuration. |
Change the Notification Mode setting to EMAIL or ALL using Oracle Fusion Middleware Control. |
Email notification is not being sent. |
The Outgoing (SMTP) Mail Server settings in the UMS Email Driver are incorrect. |
Check the following settings in the UMS Email Driver using Oracle Fusion Middleware Control:
Note: Validate the values by using them in any e-mail client for connecting to the SMTP server. |
The SMTP server requires authentication or a secure connection (TLS or SSL). |
Check the following settings in the UMS Email Driver using Oracle Fusion Middleware Control:
|
|
Notifications are not being sent because of error message: |
The UMS Driver for the appropriate channel is configured with a specific list of SenderAddresses, and the message sent by the application has set a non-matching Sender Address. Note: UMS Server matches the outbound message's sender address, if set, against the available drivers' SenderAddresses to find a matching driver to use for delivering the message. If a driver has set one or more SenderAddresses, then the UMS Server only sends messages with the matching sender address to it. |
|
The e-mail client inconsistently receives notifications. |
The Incoming Mail Server settings in the UMS Email Driver are configured with the same e-mail account to which notifications are being sent. If the notification is sent to the same account, the UMS Email Driver may download and process the e-mail before the e-mail client can display it. |
Use an exclusive e-mail account for Incoming Mail Server settings. Check the following settings in the UMS Email Driver using Oracle Fusion Middleware Control:
|
SOA Human Workflow notifications are sent, but are not actionable. |
The Actionable E-mail Address is not configured in SOA Workflow Notification Properties. |
Set the Actionable E-mail Address in SOA Workflow Notification Properties with the address of the e-mail account configured in the UMS E-mail Driver. |
The Human Workflow task is not set to send actionable notifications. |
Set the actionable attribute for the Human Workflow task in JDeveloper and redeploy the SOA composite application. |
|
SOA Human Workflow actionable notifications are sent, but no action is taken after responding. |
The Incoming Mail Server settings in the UMS E-mail Driver are incorrect. |
Check the following settings in the UMS E-mail Driver using Oracle Fusion Middleware Control:
Note: Validate the values by using them in any e-mail client for connecting to an IMAP or POP3 server. |
The mail access protocol is incorrect. |
Check the following settings in the UMS E-mail Driver using Oracle Fusion Middleware Control:
|
|
The e-mail server is SSL-enabled. |
Check the following settings in the UMS E-mail Driver using Oracle Fusion Middleware Control:
|
|
The receive folder name is incorrect. |
Check the following settings in the UMS E-mail Driver using Oracle Fusion Middleware Control:
Note: Some e-mail servers may expect the value INBOX to be inbox or Inbox (that is, case-sensitive). Based on your e-mail server, use an appropriate value. |
|
A non-default e-mail client is configured for receiving notifications. When the user clicks the approval link, the default mail client page opens, which may send e-mails to a different e-mail server. |
Configure the default e-mail client to receive actionable notifications. |
|
SOA BPEL User Notification or Human Workflow notifications are sent to the correct delivery type (e-mail, sms, and so on) but to the wrong address. |
A self-provisioned messaging channel was created by the user in User Messaging Preferences for use in BPEL User Notification or Human Workflow use cases. Note: The User Messaging Preferences UI allows the end user to create his or her own messaging channel for various use cases, but these are not to be used for BPEL User Notification and Human Workflow. |
Do not use a self-provisioned messaging channel for BPEL User Notification or Human Workflow use cases (that is, do not set as Default channel, and do not use in a messaging filter for such use cases). BPEL User Notification and Human Workflow utilize User Messaging Preferences only for the delivery type preference, and the actual address is retrieved from the user profile in the identity management system. Note: Addresses from the user profile in the identity management system are available through User Messaging Preferences using pre-defined channel names, such as Business Email, Business Mobile, Business Phone, Instant Messaging. Use these pre-defined messaging channels instead for BPEL User Notification and Human Workflow use cases. |