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 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
- Optimizing Binary Data Transmission Using MTOM (JAX-WS)
- Sending Binary Data Using MTOM/XOP (JAX-RPC)
- Configuring Applications for Production Deployment