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 only to JAX-RPC 1.1 Web Services and not to JAX-WS 2.0 Web Services.
The policy file can be specified at the Web Service endpoint-level, which means that the policy assertions apply to the entire Web Service, or a WS-Policy file can be specified at the 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.
Programmers, 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 WebLogic Web Services: Security.
After you have associated a policy file to a Web Service endpoint or operation, the assistant updates the application's 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