In earlier releases, for editing a domain value map at runtime, you first had to make the changes in Oracle JDeveloper, and then redeploy the domain value map in the application server. Oracle SOA Composer now offers support for editing domain value maps at runtime.
This chapter includes the following sections:
For more information about domain value maps, see Working with Domain Value Maps .
Oracle SOA Composer is an EAR file that is installed as part of the Oracle SOA Suite installation. Oracle SOA Composer enables you to manage deployed domain value maps during runtime without needing to redeploy the project that uses the domain value maps. Domain value map metadata can be associated either with a SOA composite application, or it can be shared across different composite applications. Figure 45-1 shows how Oracle SOA Composer lets you access a domain value map from the Metadata Service (MDS) repository.
Figure 45-1 Oracle SOA Composer High-Level Deployment Topology
To log in to Oracle SOA Composer:
The Oracle SOA Composer Login page appears, as shown in Figure 45-2.
Figure 45-2 Oracle SOA Composer Login Page
After you log in to Oracle SOA Composer, the Oracle SOA Composer home page appears, as shown in Figure 45-3:
Figure 45-3 Oracle SOA Composer Home Page
You must have the
SOADesigner application role to access Oracle SOA Composer metadata. By default, all users with Oracle Enterprise Manager Fusion Middleware Control administrator privileges have this role. If you log in to Oracle SOA Composer without this role, you see the following message:
Currently logged in user is not authorized to modify SOA metadata.
For information about adding the
SOADesigner application role to users without administrator privileges, see Administering Oracle SOA Suite and Oracle Business Process Management Suite.
You can view domain value maps at runtime. Perform the following steps to open and view a domain value map.
To view domain value maps at runtime:
Figure 45-4 shows a sample domain value map in SOA Composer.
Figure 45-4 Viewing a Domain Value Map in SOA Composer
To get a direct link to the selected domain value map, click Bookmark.
You can edit domain value maps while the applications using the domain value map are running.
When you update a DVM using SOA Composer, the DVM cache also gets updated with the updated DVM.
By default, domain value maps open in view mode. Once you change to edit mode, you can modify row information. When you finish making changes, be sure to save and commit them as described in Publishing Changes at Runtime.
To change to edit mode:
The domain value map opens in edit mode.
To add rows:
You can add rows by performing the following steps:
The Add Domain Values dialog appears.
The entered values are added to the domain value map.
To edit rows:
You can edit rows by performing the following steps:
The Edit Domain Values dialog appears.
Every time a domain value map is opened in an edit session, a sandbox is created per domain value map, per user. If you save your changes, then the changes are saved in your sandbox.
You must publish the changes you make to have them picked up by the runtime and be saved permanently to the MDS repository. In a session, you can also save your changes without publishing them. In such a case, the domain value map remains in the saved state. You can reopen the domain value map and publish the changes later.
To publish changes at runtime:
You can also choose to discard any changes made to the DVM in the session.
To discard changes at runtime:
Oracle SOA Composer detects conflicts that can occur among concurrent users. If you open a domain value map that is being edited by another user, then you see a dialog asking you to confirm whether you want to go ahead with the edit.
If you still want to edit the domain value map, you can click Yes and make the modifications.
If the other user makes changes to the domain value map and commits the changes, you receive a notification message while trying to commit your changes.
If you click Yes and commit your changes, then the changes made by the other user are overwritten by your changes.