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 specification. WebLogic Server uses policy files to specify the details of the message-level security (digital signatures and encryption) and reliable SOAP messaging capabilities of a Web Service.
NOTE: Policy files apply to JAX-RPC Web Services only, and not to JAX-WS Web Services.
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 specify an associated policy file. Administrators cannot override this association using the Administration Console. Administrators can, however, associate 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.
After you have associated 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.
- Associate a WS-Policy file with a Web Service
- View the SOAP message handlers of a Web Service
- View the WSDL of a Web Service
- Start and stop a Web Service
- Monitor a Web Service
- Introducing WebLogic Web Services
- Getting Started With WebLogic Web Services Using JAX-WS
- Getting Started With WebLogic Web Services Using JAX-RPC
- Programming Advanced Features of WebLogic Web Services Using JAX-WS
- Programming Advanced Features of WebLogic Web Services Using JAX-RPC
- Securing WebLogic Web Services
- WebLogic Web Services Reference
- Optimizing Binary Data Transmission Using MTOM (JAX-WS)
- Sending Binary Data Using MTOM/XOP (JAX-RPC)
- Configuring Applications for Production Deployment