If you wish to edit the log policy configuration, select the log file in the list and Edit the log file information, as required.

17 Maintaining the Oracle WSM Repository 17-1 17 Maintaining the Oracle WSM Repository The following topics provide guidance for maintaining the Oracle WSM Repository: ■ About the Oracle WSM Repository ■ Registering an Oracle WSM Repository ■ Understanding the Different Mechanisms for Importing and Exporting Policies ■ Importing and Exporting Documents in the Repository ■ Migrating Policies Between Application Environments ■ Patching Policies in the Repository ■ Backing Up and Restoring the Oracle WSM Repository ■ Upgrading the Oracle WSM Policies in the Repository ■ Rebuilding the Oracle WSM Repository About the Oracle WSM Repository Oracle Web Services Manager WSM uses an MDS repository to store Oracle WSM metadata, such as policies, assertion templates, and policy usage data. The Oracle WSM Repository is available as a database for production use or as files in the file system for development use in JDeveloper. For a list of the databases that are supported for this release, see Oracle Fusion Middleware Supported System Configurations at: http:www.oracle.comtechnologysoftwareproductsiasfilesfus ion_certification.html Within the Oracle WSM Repository, each policy has a URI that is evaluated to form a path in which to locate a particular XML document containing the policy. Oracle WSM does not use the MDS customization feature, so all policies are stored as complete documents. Although MDS supports the ability to store multiple versions of a given document, Oracle WSM only accesses the latest version during policy enforcement. Details about managing the MDS repository are provided in Managing the MDS Repository in Oracle Fusion Middleware Administrators Guide. Registering an Oracle WSM Repository Before you can deploy an application to an MDS Repository, such as the Oracle WSM Repository, you must register the repository with the Oracle WebLogic domain. To register an Oracle WSM Repository: 17-2 Oracle Fusion Middleware Security and Administrators Guide for Web Services

1. In the Navigator pane, expand Metadata Repositories and select mds-owsm, as

shown in Figure 17–1 . Figure 17–1 Metadata Repository in Navigation Pane

2. Select Metadata Repository, then Administration, then RegisterDeregister.

The Metadata Repositories page is displayed, as shown in Figure 17–2 . Figure 17–2 Registering an Oracle WSM Repository

3. Click Register and provide the required database connection and repository

information to register the repository. Complete details for registering and managing a metadata repository are provided in Managing the Metadata Repository in the Oracle Fusion Middleware Administrators Guide. Understanding the Different Mechanisms for Importing and Exporting Policies You can use Enterprise Manager Fusion Middleware Control or WebLogic Scripting Tool WLST commands to import and export policies to and from the Oracle WSM Repository. Oracle Enterprise Manager Fusion Middleware Control provides the ability to selectively import and export one policy at a time. The procedures for importing and exporting policies using Fusion Middleware Control are described in the following sections: ■ Importing Web Service Policies on page 7-7 ■ Exporting Web Service Policies on page 7-20 The WLST commands, importRepository and exportRepository, are provided to facilitate importing and exporting multiple Oracle WSM documents directly to and from the Oracle WSM Repository. For details about using these commands, see Importing and Exporting Documents in the Repository on page 17-3. When you import or export policies using either of these mechanisms, the operation is routed through an instance of the Oracle WSM Policy Manager application. At run