Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's the significance of soap-header element inside handler element

 
Jack Zhou
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to me that nothing can prevent handler to manipulate all headers. This element seems useless unless container will pass the decared header in te return value of getHeaders and handler only mainpulate the headers inside the return QName arrry of getHeaders
as a good practive.
Any thought?
Thanks,
 
Lipman Li
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so what is going to happen if the value specified in soap-header element is different with getHeaders() call of the handler?
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lipman Li:
so what is going to happen if the value specified in soap-header element is different with getHeaders() call of the handler?


Guess, that particular MessageHandler implementation will be skipped since it does not match the header block in the actual Soap message?
Can someone please confirm the behaviour?

thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic