Freeman your sample is exactly what I was trying to achieve... and I have been searching for one entire day :S These are setting the order??
getAfter().add(WSS4JInInterceptor.class.getName()); getAfter().add(PolicyBasedWSS4JInInterceptor.class.getName()); I think that these kind of things should be in documentation, after configuring it I'll create a blgo entry for this so, anyone else pains as myself did :S Thanks Glen, I can see your entry mentioned the same too: Pay attention to phase names in the IN and OUT chains, they are mostly different and ordered differently. If you attach your interceptor to a phase not applicable for the chain, it will not run. Also, when having your interceptor run after another interceptor (addAfter()), make sure that other interceptor will indeed be activated for that particular phase. I know I have seen your blog entry before but I just was reading from too many sites that I missed that. Thank you guys, good bye. On Mon, Jul 18, 2011 at 11:00 PM, Glen Mazza <gma...@talend.com> wrote: > On 07/18/2011 02:30 PM, Jaime Hablutzel Egoavil wrote: > >> I have read that I need a second interceptor, but how to set an >> interceptor >> and give it lower precedence?? >> >> > http://www.jroller.com/gmazza/**entry/jaxwshandlers_to_**cxfinterceptors<http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors> > > HTH, > Glen > > Thanks. >> >> >> >> > > -- > Glen Mazza > Application Integration Division > Talend (http://www.talend.com/ai) > blog: http://www.jroller.com/gmazza > > > -- Jaime Hablutzel - 9-9956-3299 (tildes omitidas intencionalmente)