8.2 Creating and Migrating a Policy Horizontally Through the Different Stages

The following steps describe a typical scenario for how to create a policy and migrate the policy horizontally through the different stages of the application development and deployment cycles.

  1. Use Oracle Enterprise Manager Fusion Middleware Control to create a policy.

    For more information, see "Creating and Editing Web Service Policies" in Securing Web Services and Managing Policies with Oracle Web Services Manager.

  2. Export the policy to a zip archive.

    For more information, see "Migrating Policies".

  3. Extract the contents of the META-INF directory in the zip archive to the policy store location in the Oracle JDeveloper environment. For more information, see "Exporting Policies from the OWSM Repository for Use in JDeveloper" in Securing Web Services and Managing Policies with Oracle Web Services Manager
  4. Create a web service in Oracle JDeveloper and attach the policy to the web service.

    For more information, see "Developing and Securing Web Services" in Developing Applications with Oracle JDeveloper.

  5. Deploy the web service to the staging server, and test the web service.

    For more information, see "Developing and Securing Web Services" in Developing Applications with Oracle JDeveloper.

  6. Import the policy to the production server environment.

    For more information, see "Migrating Policies".

  7. Migrate the following information, as required:
  8. Deploy the application into the production environment, and test the web service.