Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Header Role

 
Shankar sanjay
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic