+

Search Tips   |   Advanced Search

WS-Policy

WS-Policy allows service providers to export policy requirements in a standard format. Clients combine the requirements with their own capabilities to establish policies required for a specific interaction.

WebSphere Application Server conforms to the web services Policy Framework (WS-Policy) specification. We can use the WS-Policy protocol to exchange policies in standard format. A policy represents the capabilities and requirements of a web service, for example whether a message is secure and how to secure it, and whether a message is delivered reliably and how this is achieved. We can communicate the policy configuration to any other client, service registry, or service that supports the WS-Policy specification, including non-WebSphere Application Server products in a heterogeneous environment.

For a service provider, the policy configuration can be shared in published WSDL, in WSDL that is obtained by a client by using an HTTP GET request, or using the Web Services Metadata Exchange (WS-MetadataExchange) protocol. The WSDL is in the standard WS-PolicyAttachments format.

For a client, the client can obtain the policy of the service provider in the standard WS-PolicyAttachments format and use this information to establish a configuration that is acceptable to both the client and the service provider. In other words, the client can be configured dynamically, based on the policies supported by its service provider. The provider policy can be attached at the application or service or service reference level.

The following features were introduced in the JAX-WS 2.2 specification, which WebSphere Application Server supports from Version 8:

The WS-Policy assertion specifications that are supported in this version of WAS are:

For details of the WS-Policy domains that are supported, see the following topics:


Subtopics

  • WS-Addressing policy settings
  • WS-ReliableMessaging settings
  • WS-Security policy settings
  • WS-Transaction policy settings


    Related information:

    Web Services Policy 1.5
    Web Services Policy 1.5 - Attachment
    Web Services Addressing 1.0 - Metadata
    Web Services Atomic Transaction Version 1.0
    Web Services Atomic Transaction Version 1.1
    Web Services Atomic Transaction Version 1.2
    Web Services Reliable Messaging Policy Assertion Version 1.0
    Web Services Reliable Messaging Policy Assertion Version 1.1
    WS-SecurityPolicy 1.2
    JAX-WS API Version 2.2