Click OK. Oracle Fusion Middleware Online Documentation Library

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. 7-10 Oracle Fusion Middleware Security and Administrators Guide for Web Services Figure 7–5 Create Template Page

4. In the Template Information section, edit the name of the assertion and,

optionally, enter a brief description. The word Copy is appended to the name of the copied assertion template and, by default, this is the name assigned to the new assertion template. For example, if the assertion template being copied is named oraclewss10_username_token_service_ template, then the default name of the copy is oraclewss10_username_token_service_ template_Copy. It is recommended that you change the name of this new assertion template to be more meaningful in your environment.

5. Click Save.

The assertion is added to the Assertion Templates table. You can now select the new assertion and click Edit to configure the assertion. Editing an Assertion Template Follow the steps in this section to edit an assertion template. 1. Navigate to the Web Services Assertions 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 edit.

3. Click Edit.

Note: Oracle recommends that you do not edit the predefined assertion templates so that you will always have a known set of valid templates.