I see that a SOAP message can be routed through multiple nodes before it reaches the ultimate receiver. And I am guessing that WS-Addressing schema can be used to specify the rouitng information for a message. In order for this to work, I imagine that the following two things need to be in place:
1. A node must be able to know what role(s) it is playing in a given context
2. A node-to-role mapping must be in place somewhere (maybe a database?) where all the nodes can look up their roles
Question: How is this implemented in practice? Is there software outside the scope of the SOAP specification that allows for this type of configuration? I would appreciate if you can send me a link to an article that discusses this.