+

Search Tips   |   Advanced Search

 

Interoperating with Web Services Addressing endpoints that do not support the default specification supported by WAS

 

A target Web service endpoint might not support the same Web Services Addressing (WS-Addressing) namespace as WAS. In most cases, you do not need to perform any extra actions to interoperate with such endpoints, however some scenarios require additional steps in the implementation of your Web service.

 

Overview

WAS supports the default WS-Addressing 2005/08 namespace: http://www.w3.org/2005/08/addressing. Perform this task when you want to interoperate with endpoints that support other namespaces. This task specifically describes interoperation with endpoints that are hosted on a node that supports only the 2004/08 namespace: http://schemas.xmlsoap.org/ws/2004/08/addressing).

If you are sending or receiving messages to or from an endpoint that supports only the 2004/08 namespace, you do not have to perform any additional steps for interoperability. WAS recognizes and understands incoming WS-Addressing messages that conform to the 2004/08 specification, and outbound messages automatically adhere to the namespace of their destination endpoint reference. If you are sending a request, all WS-Addressing elements, such as [reply endpoint] or [fault endpoint] elements, must use the same namespace as the message. Any discrepancy results in a JAX-RPC configuration error.

If you are interacting in a different way with an endpoint that supports only the 2004/08 namespace, such as exporting endpoint references in the message header or body, perform additional steps as detailed below.

 

Procedure


 

Related concepts


Web Services Resource Framework support

 

Related tasks


Creating stateful Web services using the Web Services Resource Framework
Use the WS-Addressing SPI: Performing more advanced Web Service Addressing tasks

 

Related Reference


Web Services Addressing APIs
Web Services Addressing SPI

 

Related information


JSR-109 specification