Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure a policy file for a Web service

Related Tasks     Related Topics

This page is used to configure policy files for a Web service.

A Web service can have zero or more policy files associated with it. WebLogic Server supports policy files that conform with either the WS-SecurityPolicy 1.2 or WS-Policy 1.5 or 1.2 specification. WebLogic Server uses policy files to specify the details of the message-level security (digital signatures and encryption) and reliable messaging capabilities of a Web service.

The policy file can be specified at the Web service at the following levels:

This assistant helps you configure a policy file with the Web service endpoint.

When programming the Web service, use the Java Web Service (JWS) annotation @Policy inside the implementation of the Web service to attach a policy file. Administrators cannot override this association using the Administration Console. Administrators can, however, attach additional policy files using assistants such as this one.

WebLogic Server includes a number of pre-packaged security policy files that you can use for configuring message-level security and reliable messaging. For more information about them, see "Configuring Message-Level Security" in Securing WebLogic Web Services and "Pre-Packaged WS-Policy Files for Reliable Messaging" in Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server.

After you have attached a policy file to a Web service endpoint or operation, the assistant updates the application deployment plan. If the application does not currently have a configured deployment plan, the assistant creates one for you in the location you specify.

Related Tasks

Related Topics

Back to Top