Web Services Addressing application programming model

The Web Services Addressing (WS-Addressing) specification defines an endpoint reference that is represented in Extensible Markup Language (XML) by an EndpointReferenceType object that encapsulates information about the endpoint address as well as additional contextual information associated with the endpoint. Some services might be addressable by using a simple URI address, as is most typical in web services. Other services might require the use of an endpoint reference to address them, so that the additional contextual information associated with the endpoint is present in messages sent to the endpoint.

Examples of services that use WS-Addressing endpoint references include Web Services Resources and Web Services Notification message producers and message consumers, all of which have the notion of stateful resources associated with their endpoints. In these cases the endpoint reference not only contains the service address but also some data that is used to select the specific stateful resource instance for use in the processing of a web services message.

WS-Resource 定义为资源与用来访问该资源的 Web Service 的组合。下图说明了一个 Web Service(位于 http://www.example.com/service)及通过该 Web Service 来访问的三个资源(A、B 和 C)。因此,该图中说明了三个 WS-Resource:
请参阅描述文本
通常,用来唯一标识 WS-Resource 的 WS-Addressing 端点引用通过将 WS-Resource 的资源组件的标识包含在 EndpointReference ReferenceParameter 元素中来引用 WS-Resource。在上一个示例中,WS-Resource-C 组合了 Web Service 以及由 C 所标识的资源,而对 WS-Resource-C 的引用可能如下:
<wsa:EndpointReference>
    <wsa:Address>
        http://www.example.com/service
    </wsa:Address>
    <wsa:ReferenceParameters>
        <tns:SomeDisambiguatorElement>C</tns:SomeDisambiguatorElement>
    </wsa:ReferenceParameters>
    ...
</wsa:EndpointReference>

The WS-Addressing APIs provide the appropriate interfaces for implementing the previous pattern.


指示主题类型的图标 概念主题



时间戳记图标 最近一次更新时间: July 9, 2016 9:28
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=cwbs_wsa_rap
文件名:cwbs_wsa_rap.html