Add WS-Addressing to a security configuration
The WS-Addressing specification provides transport-neutral mechanisms that allow SOAP-based Web services to communicate addressing information. You can use WSDL security algorithms to add WS-Addressing to service tests.
Before adding WS-Addressing to a security configuration, have a service test with requests and responses that are related to a valid WSDL. To add WS-Addressing to a WSDL security algorithm.
- Open the test, select a service request, and in the Service Content view, select Enable the display of the XML document after the security processing.
- On the Security for Request or Security for Response page, click Edit WSDL Security
. The WSDL security editor opens.
- Select the Algorithm Stacks page of the WSDL security editor, and in the Security Algorithm list, select or create a security algorithm.
- In the Stack Contents list, click Add > WS-Addressing and specify the settings that are implemented by the service.
- WS-Addressing Algorithm
- Add this stack if service uses either WS-Addressing 2004/08 or the WS-Addressing 1.0 Core standard.
- Namespace
- Specify the namespace for either WS-Addressing 2004/08 or WS-Addressing 1.0 Core.
- Action if request uses WS-Addressing
- Select the action to perform if WS-Addressing is already in the request.
- Replace anonymous address in Reply-to with:
- Generate the specified address in the Reply-to header instead of an anonymous address.
- Remove WS-Addressing from response
- Strip any WS-Addressing headers from the response.
- Save the WSDL security algorithm and select the test editor. The WS-Addressing namespace and header XML content is displayed in the Service Content view.
Related
Web service security editor overview
Related tasks
Create a SOAP security profile for a WSDL Implement a custom security algorithm