aspose file tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Header Role Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Header Role" Watch "Header Role" New topic
Author

Header Role

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 104
Hi, I am not quite clear about role in SOAP Header?

It has value like next,none,ultimateReceiver.

Can anyone please explain with an example why we need this? and when we have to use this?
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
Headers in SOAP messages can be used to send out-of-band information with a SOAP message, such as security credentials, transaction information etc.
There once was an idea that SOAP messages could be send not only directly from client to server, but passing a number of intermediary nodes along the way to the server.
Each node along the way can have a role (more like a name) that can be used to target headers to a specific node.
In reality, I rarely, if ever, see intermediary nodes.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Header Role
 
Similar Threads
How to use the role in struts 1.3 ?
MustUnderstand Attribute
WA #1.....word association
Scrabble... it only takes a minute...
when to use soap:mustUnderstand="1"