Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between SOAP message handlers and SOAP iintermediaries  RSS feed

 
Harsha kumar Reddy
Greenhorn
Posts: 12
Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am studying for Jave EE 6 web services developer exam and i am going through a old book by richard monson-haefel on web services . When i cam across the topic of message handlers i have this question in my mind. In the book its written that message handlers reside in web container and are responsible for handling SOAP headers . if this exists in single web container then they have to be in single machine .

And i also studied topic on SOAP nodes which are intermediaries and these too are responsible for handling SOAP headers . But according to my understanding these intermediaries must reside on different machine on network. So how is SOAP message is handled.

What is difference in roles and responsibilities between these two (SOAP message handlers and SOAP intermediaries)?

How a Url is associated with the SOAP intermediaries?
 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first advice is to throw away that book and get a much newer one. The RMH book predates JAX-WS and JAX-RS, making it just about irrelevant to current WS usage (as well as the exam).

Secondly, both message handlers and SOAP intermediaries are not specifically for handling SOAP headers. They can be (and are) used for acting on the entire SOAP message. While SOAP intermediaries were envisioned for running on multiple machines, they could conceptually be part of different processes on the same machine (I don't think they play much of a practical role, though).

Lastly, please resist the temptation to use the font size tags. If people want to see a post larger or smaller, they can use their browser's controls for that.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!