the policy reference is in the wsdl:binding BTW
<wsdl:binding name="ReportIncidentBinding"
type="tns:ReportIncidentEndpoint">
<wsp:PolicyReference URI="#UsernameTokenPolicy"/>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
...
I am now running it in the debugger with a breakpoint on
PhaseInterceptorChain so that I can see each interceptor as it's called. The
first interceptor called is PolicyOutInterceptor. I'm assuming that this
ought to be adding the interceptors that create the security headers but
when I step through it appears that it doesn't because the list of
interceptors in the effectivePolicy is empty.
--
View this message in context:
http://cxf.547215.n5.nabble.com/WS-SecurityPolicy-seems-to-be-ignored-on-client-side-tp5735502p5735510.html
Sent from the cxf-user mailing list archive at Nabble.com.