Using the Outbound Web Service Using the Translation Web Service

Using the Oracle B2B Web Services 20-7 policypolicy-referencespolicy-reference uri=oraclewss_username_token_ service_policy category=securitypolicy-reference uri=oraclewsrm11_policy category=wsrmpolicy-referencespolicy Limitations There is no way to control the policy only for the particular endpoint. Whatever the policy specified, it is applicable for all the endpoints. Removing already specified policy URI by clearing the Webservice Policy field does not work. You must enter some string in the field, such as none. No metrics are displayed for Oracle B2B web service usage in Oracle Enterprise Manager Fusion Middleware Control Console. 20-8 Oracle Fusion Middleware Users Guide for Oracle B2B 21 Scripts for Archiving and Restoring Data 21-1 21 Scripts for Archiving and Restoring Data This chapter describes how to archive and restore B2B business messages using SQL scripts. This chapter contains the following topics: ■ Section 21.1, Introduction to Archiving and Restoring B2B Business Messages ■ Section 21.2, Archiving B2B Business Messages ■ Section 21.3, Restoring B2B Business Messages See Chapter 7, Importing and Exporting Data, for information on importing and exporting design-time data.

21.1 Introduction to Archiving and Restoring B2B Business Messages

Oracle B2B uses Oracle Data Pump, an Oracle Database 11g feature that enables fast bulk data and metadata movement, to archive B2B run-time instance data in Oracle databases. 1 You can specify criteria for archiving and optionally purging business messages based on start date, end date, and message state. The targeted business messages are marked with JOB_ID, a column in the B2B run-time tables that is used to synchronize archive and purge activity. B2B invokes the Data Pump PLSQL API using JOB_ID. Hence, when you archive business messages, all the associated tables are also archived. Archived business messages can also be restored by using the Data Pump to import the run-time data into Oracle B2B Oracle Metadata Service repository and accessing it through B2B reports.

21.2 Archiving B2B Business Messages

To archive business messages, set up the archive directory and permissions and then run the archive procedure. The procedure provides an option to purge the archived rows. To set up the archive directory and permissions: 1. On the computer running the database, create a directory for the archive file. For example, mkdir tmparchive 1 For non-Oracle databases, external database archiving tools can be used to export and import run-time data.