getReceivedMessages Operation getMessage Operation getMessageURIs Operation

18-10 Developers Guide Figure 18–2 Adding a Library

3. Click Add Library.

Figure 18–3 Adding a Library

4. Click New to define a new library.

5. For Library Name, enter oracle.sdp.client. Parlay X Web Services Multimedia Messaging API 18-11 Figure 18–4 Defining the Library

6. With Class Path selected, select Add Entry.

7. Navigate to JDeveloper_Base_Directorycommunicationsmodules

oracle.sdp.client_11.1.1, and select jar file sdpclient.jar. Figure 18–5 Selecting sdpclient.jar

8. Click OKAccept in all popups to create the library and add it as a

dependency to the sample Web module. 4. Create an Application Server Connection by right-clicking the project in the navigation pane and selecting New. Follow the instructions in Section 18.6.4, Creating a New Application Server Connection . 18-12 Developers Guide

5. Deploy the project by selecting the usermessasgingsample-parlayx project,

Deploy , usermessasgingsample-parlayx, to, and SOA_server Figure 18–6 . Figure 18–6 Deploying the Project 6. Verify that the message Build Successful appears in the log.

7. Enter the default revision and click OK.

8. Verify that the message Deployment Finished appears in the deployment log. You have successfully deployed the application. Before you can run the sample you must configure any additional drivers in Oracle User Messaging Service and configure a default device for the user receiving the message in User Messaging Preferences, as described in the following sections.

18.6.3 Testing the Sample

Perform the following steps to run and test the sample:

1. Open a Web browser.

2. Navigate to the URL of the application as follows, and log in:

http:host:portusermessagingsample-parlayx The ’Messaging Parlay X Sample’ Web page appears Figure 18–7 . This page contains navigation tabs and instructions for the application. Note: Refer to Configuring Notifications in the Oracle Fusion Middleware SOA Developer’s Guide for more information.