• Post Reply Bookmark Topic Watch Topic
  • New Topic

A query on actor attribute..

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The actor attribute in a SOAP message, helps a node to identify which headers in the message, it's supposed to process.

The fragment for a SOAP XML message for above concept is:


so this is like the message saying 'process me if you play the logger role'
I am curious to know some similar code fragement from the node's side.
i.e. some code for the '...if you play the logger role' part
 
cheenu Dev
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Handler can also be a node processing the header.
In that case you define the the handler to the role in the DD.
Refer to RMH on handlers and Chapters 22, 23, 24.
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case you define the the handler to the role in the DD.
Ok. so node to role mapping is done in the D.D.

Can you give me some code fragment here. chapters 22-24 are long ahead
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!