Adding the OWSM Policy to the Application

To ensure Primavera Gateway and other APIs work, you need to setup the OWSM policy.

To configure the WSM policy:

  1. Log in to Oracle Enterprise Manager for the Primavera Gateway application:

    http://<host>:<port>/em

  2. Expand the Weblogic Domain node and select the Primavera Gateway domain node.
  3. Select Web Services, and then select the policy as follows:

    For WebLogic 12c, select WSM Policy Sets.

    For WebLogic 11g, select Policy Sets.

  4. On the WSM Policy Set Summary screen, select Create.
  5. Create two policy sets: Gateway_REST_API_Service and Gateway_REST_API_Service_Session.
    1. For each policy set, add the following details:
      • Name: Enter a descriptive name for the WSM policy set.
      • Enabled: Ensure this option is selected.
      • Type of Resources: Select the following value.

        For WebLogic 12c, select RESTful Resource.

        For WebLogic 11g, select REST Resource.

      • Description: Enter Default policy for Gateway REST API Session.
      • Select Next.
    2. Depending on the WebLogic version, enter the following values:

      (WebLogic 12c) In the RESTful Application, Service, or Web Service Endpoint Name field, enter Gateway_REST_API_Service or Gateway_REST_API_Service_Session for the relevant policy set, and select Next.

      (WebLogic 11g) In the SOA Service or Web Endpoint Name field, enter Gateway_REST_API_Service or Gateway_REST_API_Service_Session for the relevant policy set, and select Next.

    3. On the Enter Constraints page, select Next.
    4. Attach the basic authentication policy as follows:
      • Select oracle/wss_http_token_service_policy from the bottom grid.
      • Select the Attach button.
      • Select Next.
    5. On the Summary screen, select Save.

This completes setting up OWSM for using external web services of Primavera Gateway.

Related Topics

Gateway Manual Installation On Administration Server

Installing Oracle ADF (11g Only)

Installing Oracle Fusion Middleware Infrastructure (WebLogic 12c Only)

Running the Repository Creation Utility (RCU)

Creating the WebLogic Domain (11g)

Creating the WebLogic Domain (12c)

Modifying the Gateway Application File

Adding a Data Source

Creating Users and Associating them with a Role

Deploying JSTL

Deploying Primavera Gateway in WebLogic

Setting JVM Arguments in WebLogic

Starting the Application in WebLogic

Starting WebLogic

Stopping WebLogic



Legal Notices
Copyright © 2013, 2015, Oracle and/or its affiliates. All rights reserved.

Last Published Wednesday, March 25, 2015