If using the WS-Addressing headers, just make sure you set this messageID in the AddressingProperties in the request context *before* the WS-A MAPAggregator interceptor is traversed.
So no problem doing it in the application layer (as per the the ws_a demo). But if you're setting it in an interceptor, make sure this runs in a phase prior to PRE_LOGICAL, or use the PhaseInterceptor.addBefore() mechanism if running in the same phase. >From the point of view of ID uniqueness, CXF just fabricates a URN with the unique material being provided by java.util.UUID.randomUUID(). Cheers, Eoghan 2009/3/18 <[email protected]> > Now I just have to determine when to set this MesssageID and how to ensure > it is unique. More fun for me. > >
