Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WS-Addressing?  RSS feed

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I appreciate that WS-Addressing means that some of the the things SOAP using HTTP for can be put in the SOAP header and hence a dependency to HTTP is removed.
Ok so say a SOAP message is going to a particular URL. Usually, the URL is in the HTTP request, not in the SOAP message - correct?

What WS Addressing does is allow us put the URL target in the actual SOAP Message - correct? Hence we don't rely on HTTP for this anymore.

But, can someone give me a example of a realistic business case where using WS-Addressing would make sense to use? And would not make sense i.e. would be overkill?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What WS Addressing does is allow us put the URL target in the actual SOAP Message - correct? Hence we don't rely on HTTP for this anymore.

Correct. Although HTTP -not knowing anything about its SOAP payload- still needs the URL as well, like it does for all requests.

But, can someone give me a example of a realistic business case where using WS-Addressing would make sense to use? And would not make sense i.e. would be overkill?

WS-A isn't something that a developer would generally use directly, but several other WS-* standards rely on it, notably WS-Security. A WSS message might contain something like this:

So in addition to the service URL (which some part of the SOAP processing pipeline might use), there's also a unique message identifier (important for WSS) and the SOAPAction attribute (which -being part of the SOAP header instead of a HTTP header like it used to be- is now also available to the full SOAP pipeline).
 
jack william
Greenhorn
Posts: 2
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!