WebLogic server 11g and 12c with Tools Release 9.1.5.x

Use these steps to remove the security policy from an EnterpriseOne web service:

Important: The deployment must be active.
  1. On the WebLogic Admin Console, go to Deployments and click the deployment that you want to modify.

    The list of services appears under the deployment that you selected.

  2. Click the service from which you want to remove the security policy.

  3. On the right side Settings page, click the Configuration tab, and then click the WS-Policy tab.

    The service endpoint and the policy attached to it appear on the Settings page.

  4. Click the service end point.

  5. From the left side Change Center section, click Lock & Edit.

    A list of policies appears in the Settings page.

  6. Under Chosen Endpoint Policies on the Settings page, select the security policy to be removed and use the arrow button to move the policy to the Available Endpoint Policies on the left side.

  7. Click OK.

    A message appears on the Settings page indicting that the deployment plan was successfully created and identifies the location of the deployment plan.

    The first time that you remove a policy, the Plan.xml file is created under these two locations:

    • -C:\jde_agent\SCFHA\targets\BSSV_WLS_7020\owl_deployment\E1Services-DV900-wls.ear\ app\Plan.xml

    • -C:\Oracle\Middleware\user_projects\domains\BSSVHTTP\servers\BSSV_HTTP_7080\stage\BSSV_HTTP_7080\plan\Plan.xml

  8. Repeat steps 2 through 7 to remove security policies from additional web services.

    After completing all of the policy removals, perform the next steps to update the deployment.

  9. On the WebLogic Admin Console, go to Deployments and select the deployment that you modified.

  10. Click Update.

  11. In the next screen, select the option, Update this application in place with new deployment plan changes.

    A deployment plan must be specified for this option.

  12. Click Next.

  13. Click Finish.

Now the web services from which you removed the policy can be invoked without passing the user name and password (anonymous access) in the SOAP header.

Important: If you are running WLS on a Windows platform, you must add the class path back to the WebLogic Server before you run your web service.See Adding the Class Path Back to the WebLogic Server (Windows Platform Only)
Note: To reattach a policy to a web service, use the above steps, except in Step 6, move the security policy from the left side (Available Endpoint Polices) to the right side (Chosen Endpoint Policies).