When working with policy sets in the administrative console,
you can add and configure policies to enable standard addressing of
web services.
Before you begin
You can specify policies for custom policy sets. The provided
default policy sets cannot be edited. You must create a copy of the
default policy set or create a completely new policy set in order
to specify the policies for it.
About this task
Adding a WS-Addressing policy enables the support for
WS-Addressing. This support provides a standard way to address Web
services and include addressing information in messages. Adding a
WS-Addressing policy is equivalent to configuring the WSDL file for
the web service to specify that WS-Addressing should be used.
To
specify or configure the policies associated with a policy set, use
the administrative console.
Procedure
- In the navigation pane of the administrative console, click .
The WS-Addressing settings pane is displayed.
- Select WS-Addressing is mandatory to
specify that WS-Addressing information must be included in SOAP message
headers.
For servers, this setting means that the server
returns a fault if it receives a message that does not contain a WS-Addressing
header. For clients, this setting means that WS-Addressing headers
are always added to SOAP messages. If you have enabled WS-Policy,
this requirement is communicated between servers and clients that
support WS-Policy.
- In the Messaging style box, select
the message exchange pattern to use:
- Synchronous and asynchronous. The targeting
of response messages is not restricted.
- Synchronous only. Response messages
must be targeted at the WS-Addressing anonymous URI.
- Asynchronous only. Response messages
must not be targeted at the WS-Addressing anonymous URI.
- Click OK.
- Save your changes to the master configuration.
Results
After you have included the WS-Addressing policy in a policy
set, the associated policy set uses this policy to address web services.