Click Save. Oracle Fusion Middleware Online Documentation Library

7-8 Oracle Fusion Middleware Security and Administrators Guide for Web Services ■ Creating an Assertion Template on page 7-9 ■ Editing an Assertion Template on page 7-10 ■ Editing the Configuration Properties on page 7-11 ■ Adding Assertions to a Policy on page 7-12 ■ Adding an OR Group to a Policy on page 7-13 ■ Configuring Assertions on page 7-14 ■ Exporting an Assertion Template on page 7-14 ■ Importing an Assertion Template on page 7-15 ■ Deleting an Assertion Template on page 7-15 Navigating to the Web Services Assertion Templates Page You can manage your assertion templates at the domain level from the Web Services Assertion Template page. From this page, you can copy, edit, and delete assertion templates. To navigate to the Web Services Assertion Templates page: 1. In the Navigator pane, expand WebLogic Domain. 2. Click the domain for which you want to manage assertion templates.

3. From the WebLogic Domain menu select Web Services Policies.

The Web Services Policies page is displayed.

4. Click Web Services Assertion Templates in the upper right corner of the page.

The Web Services Assertion Templates page is displayed, as shown in the following figure. Figure 7–4 Web Services Assertion Templates Page Naming Conventions for Assertion Templates The same naming conventions used to name predefined policies are used to name the assertion templates. Assertion templates begin with the directory name oracle and are identified with the suffix _template at the end; for example, oraclewss10_message_ protection_service_template. For more information on naming conventions for Managing Web Service Policies 7-9 predefined policies, see Recommended Naming Conventions for Policies on page 3-10. Viewing an Assertion Template Follow the steps in this section to view an assertion template. 1. Navigate to the Web Services Assertion Templates page, as described in Navigating to the Web Services Assertion Templates Page on page 7-8. 2. From the table, select the assertion template that you want to view.

3. Click View.

4. In the View Template page, review the assertion.

5. When you are done, click Return to Web Services Assertion Templates.

Searching for an Assertion Template You can search for a Web service assertion template by category, name, or both. To do so: 1. Navigate to the Web Services Assertion Templates page, as described in Navigating to the Web Services Assertion Templates Page on page 7-8. 2. Perform one or more of the following steps: ■ To search for assertion templates in a specific category or all categories, select a category from the Category list. Valid categories include: All, Security, MTOM Attachments, Reliable Messaging, WS-Addressing, and Management. ■ To search for an assertion template that contains a specific string, enter a string in the Name field. Specify any portion of the name of an assertion template to display all assertion templates that contain the string for the specified category.

3. Click the Search Assertion Templates icon next to the Name field.

The assertion templates list is refreshed to include only those assertion templates that match the specified search criteria. Creating an Assertion Template A new assertion template is created based on an existing assertion. Pick the assertion template that most closely matches the desired behavior, then make any changes required to get the new behavior. To create an assertion template: 1. Navigate to the Web Services Assertion Templates page, as described in Navigating to the Web Services Assertion Templates Page on page 7-8. 2. Select the assertion template from the Assertion Templates table that you want to copy.

3. Click Create Like.

The following graphic shows the Create Template page.