As a possibility you can replace inbound policy using PolicyConstants.POLICY_OVERRIDE message property. See http://ashakirin.blogspot.de/2012/02/using-ws-policy-in-cxf-projects.html for details.
Regards, Andrei. > -----Original Message----- > From: Phil Sladen [mailto:[email protected]] > Sent: Mittwoch, 21. August 2013 15:56 > To: [email protected] > Subject: Re: How to stop WS-Security policy being applied to inbound > message > > Any ideas how to do it programmatically without having to resort to calling > Neethi? > > > > -- > View this message in context: http://cxf.547215.n5.nabble.com/How-to- > stop-WS-Security-policy-being-applied-to-inbound-message- > tp5732575p5732819.html > Sent from the cxf-user mailing list archive at Nabble.com.
