Previous Topic

Next Topic

Book Contents

Enabling WS-Policy

P6 Web Services uses an external attachment file to support WS-Policy. The cxf.xml file contains the reference to the external file. The reference to the external file is commented out in the cxf.xml that is supplied in the default P6 Web Services server deployment, which disables WS-Policy. However, you can uncomment this reference to enable WS-Policy before deploying P6 Web Services to the server.

The external file, policies.xml, asserts that HTTPS and WS-Addressing is required for all of the P6 Web Services. Therefore, if you uncomment the reference to the external attachment file before deploying P6 Web Services on the server, all client requests to P6 Web Services that are processed by that deployment will need to include HTTPS and WS-Addressing information in the message headers. However, if you want to remove one or both of these requirements from a specific P6 Web Service, you can customize WS-Policy by removing the HTTPS and/or WS-Addressing assertions for that service from the external attachment file.

For additional information on enabling and customizing WS-Policy, refer to the P6 Web Services Administrator's Guide.


Copyright information