Hi, There is an example in this gz file of a simple ut policy and its inclusion into the service sei
http://cxf.547215.n5.nabble.com/attachment/5481183/0/ut_policy_java_first.tar.gz On Feb 28, 2012 5:54 AM, "martin" <[email protected]> wrote: > Thank you for your reply. > I have been trying to find an example of how to write the policy.xml file. > Do you know of any example i can use? > Do I have to include namespaces in the policy file? > Do I have to include something in other files beside the policy exceptions? > Thank you for your time > > > >You're wsdl doesn't contain any security policy fragments or anything to > >define the security requirements. There are two options: > > >1) Use the WSS4JInInterceptor documented at: > > >http://cxf.apache.org/docs/ws-security.html > > > >2) Create a WS-Policy document that describes the policy you want to > enforce > >and attach that to the service via something like the @Policy annotation > or > >similar. > > >Dan > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/WS-Security-policy-not-being-enabled-in-CXF-tp5512888p5519791.html > Sent from the cxf-user mailing list archive at Nabble.com. >
