Java – what is the purpose of WS addressing?

I'm just confused about WS addressing

Wikipedia says it is a specification of a transport neutral mechanism that allows web services to "pass addressing information"

Communicate addressing information? Do soap web services already have the ability to start, otherwise how will they communicate?

Given that it seems to provide core functionality, what value does it give, and why not part of the default thing?

Solution

Ws - addressing is most useful in the context of asynchronous communication through different protocols It is used to mark messages so that requests and delayed responses can be coordinated with each other later, no matter which protocol it is sent through

If you always use HTTP, WS addressing is not required, which is why it is turned off by default However, we tend to assume that soap can only be transmitted through HTTP, but in fact, it can be transmitted through other means, such as SMTP or JMS He is an example of this view

With WS - addressing, transport - specific data is copied to the soap header This separates the address data from the protocol to the SOAP message itself, realizing the "transmission neutrality" discussed in Wikipedia

Ws addressing plays an important role in the WS * Specification Group (i.e. WS security, WS reliable messaging, WS coordination)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>