Hi,
I think the CXF ws-rm module has this kind of mechanism. but it may be a
litter complicated.
If you are using JAXWS handler[1], it should be easy to implement it
yourself.
[1]http://jax-ws.java.net/articles/handlers_introduction.html
On 2/12/11 9:36 PM, Fabio souza wrote:
Hi,
I'm building some monitoring interceptors to evaluate my Web Services, so
I'd like to "mark" some messages on the client-side using an Id and recover
that Id on the server-side in order to build a correlation. How can I send
contextual informal (like that Id) from the client to the server side? The
solution that I found was to use a client-side interceptor to put it on a
SOAP header and other interceptor (on the server side) to read it. Is there
some other way like a built-in context? What if I have a Restful service?
Thank you, very much!
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang