If I have a handler that can extract a value from the HTTP request, is it possible to then pass that value to the SEI? For example, the HTTP request for my service is required to contain an ID parameter such as:
The ID is required on all HTTP requests to our server (by an underlying custom security implementation) since all requests are intercepted to look for the ID first.
However, I also require the ID in the implementation of my SEI method (because it needs to be passed on to the lower layer). I know how to get this value in a handler, but how can I get it to my implementation so I can actually use it? I'd rather not have to to include the ID in the HTTP request AND as a parameter to my method.
This can be done as a property of the MessageContext