Thanks Colm, I cannot (am not supposed to) change the WSDL so I'm using a wsp:PolicyReference on the CXF endpoint. Is it possible that way as well?
Jens coheigea wrote > Yes, simply reference the SignedParts policy only in the wsdl:input/output > in your wsdl:binding, and not the wsdl:fault. > > Colm. > > On Wed, May 18, 2016 at 9:17 AM, Jens < > smixdev@ > > wrote: > >> Hi, >> >> I'm using WS-SecurityPolicy to sign my SOAP messages with >> SignedParts/Body >> and OnlySignEntireHeadersAndBody. In previous versions of CXF, the >> runtime >> would never sign outgoing fault messages. Recent versions seem to now >> sign >> fault messages, too. Is there a way to disable this new behaviour and go >> back to signing "regular" responses only? Is there a way to specify that >> with WS-Policy? >> >> Thanks, >> Jens >> >> >> >> -- >> View this message in context: >> http://cxf.547215.n5.nabble.com/WS-SecurityPolicy-and-signing-faults-tp5768725.html >> Sent from the cxf-user mailing list archive at Nabble.com. >> > > > > -- > Colm O hEigeartaigh > > Talend Community Coder > http://coders.talend.com -- View this message in context: http://cxf.547215.n5.nabble.com/WS-SecurityPolicy-and-signing-faults-tp5768725p5768739.html Sent from the cxf-user mailing list archive at Nabble.com.
