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:
- Endpoint-level which means that the policy assertions apply to the entire Web service.
- Operation-level which means that the policy assertions apply only to the specific operation
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
@Policyinside 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.
- Install a Web service
- Start and stop a Web service
- Attach a WS-Policy file to a Web service
- Configure Web services
- View the SOAP message handlers of a Web service
- View the WSDL of a Web service
- Test a Web service
- Monitor Web services
- Monitor Web service clients
- Introducing Web Services for Oracle WebLogic Server
- Getting Started With JAX-WS Web Services for Oracle WebLogic Server
- Getting Started With JAX-RPC Web Services for Oracle WebLogic Server
- Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server
- Programming Advanced Features of JAX-RPC Web Services for Oracle WebLogic Server
- Securing Web Services for Oracle WebLogic Server
- Web Services Reference for Oracle WebLogic Server
- Configuring Applications for Production Deployment
- WS-SecurityPolicy 1.2 specification
- WS-Policy 1.5 specification