Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does Handler work?

Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Richard's book:

The service-ref declaration:

getHeaders implementation of one of the Handlers:

So the RPC servlet, for every Message handler in the handler chain,

1. gets all the QNames by invoking getHeaders()
2. for that patricular handler,Check if the <soap-header> element is present in the QNames[]
3. If yes , invokes the handleRequest

Do Handlers works this way? Please correct me.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!