Glen is correct, the handler_chain.xml is obsolete and should be deleted.
The handler_chain.xml is a throw-back to an earlier version of the
ws_addressing demo which used an JAX-WS handler
(demo.ws_addressing.common.HeaderSnooper) to display the WS-Addressing
headers to stdout.
However, I later simplified the demo to just use WS-A logging for the
same illustrative purpose.
Hence the HeaderSnooper handler was deleted as it was no longer required
by the demo, and the handler_chain.xml should have been deleted at the
same time for completeness. So the fact that it still exists is a simple
over-sight.
Cheers,
Eoghan
Glen Mazza wrote:
Resending...
Am Montag, den 07.01.2008, 11:37 -0800 schrieb YI (William) ZHU:
Hi there,
I'm studying the sample "ws_addressing" of CXF2.0.2.
I have two questions about the configure file "handler_chain.xml":
1) where is the Java file for "demo.ws_addressing.common.HeaderSnooper"
class?
I have searched the whole samples, but can not find it;
Technically it is here:
http://svn.apache.org/viewvc?view=rev&revision=480071
But it apparently was deleted in 2006 because it is no longer needed for
WS-Addressing.
2) when this file "handler_chain.xml" is used?
I don't think it is used at all anymore. If no one else thinks it is in
use, I will delete it soon. Sorry for any confusion.
Glen
Please help answer this question!
Thanks,
YI ZHU
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland