You can set/get a property on a SOAPMessage.
I can get to the soap message in the ejb.
But I do not have a handle on it in the client code. I have the generated items from wscompile
A client side handler can add a header element, which on the server side can be extracted and be added to the message context.
I am doing what you are suggesting. What I need is some way, from the client code (not a handler), to get something in the message context.
Look at the example code. From the generated stubs I do not know how to get something that the handler can see
You can use a thread local association.
I thought that there is not garantee that the handler would be on the same thread?
AFAIK, in jboss they are if you don't call a one-way operation.