The WS-Security stuff would be running in the Phase.POST_PROTOCOL phase which
should be immediately after the USER_PROTOCOL. Thus, you should be able to
do whatever modifications to the message that you need to do right in
USER_PROTOCOL.
If you need to modify some of the stuff in the middle of the WSS4J processing,
that's definitely more complex and would likely require custom subclasses of
the WSS4J stuff.
Dan
On Friday, July 08, 2011 11:55:27 AM mahesh wrote:
> I have been able to clean up some of the prefix and namespaces using the
> public class PrintOutMsg extends AbstractSoapInterceptor {
>
> public PrintOutMsg() {
> super(Phase.USER_PROTOCOL);
> }
>
> But I have some namespaces related to WS-policy that are implemented at
> later stage.
> Is there a interceptor I can use just before the soap body is encrypted.
>
>
> I am left with just two names spaces to clean.
>
> Mahesh
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Which-Interceptor-to-choose-to-Cleanup-WS-P
> olicy-namesapces-within-soap-body-child-nodes-tp4565981p4565981.html Sent
> from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com