Currently spring web services doesn't support processing of the web security policy ref: <http://specs.xmlsoap.org/ws/2005/07/securitypolicy/ws-securitypolicy.pdf>
Web Services Policy Recent release - http://specs.xmlsoap.org/ws/2004/09/policy/ws-policy.pdf
Any idea when this feature will be released?
Besides writing our own WSDL, is there any other temporary solution? Is there a sample code available that shows how to add the policy programmatically through one of the providers?
Apache CXF (compatible Apache license...) implements WS-SecurityPolicy: see http://cxf.apache.org/docs/ws-securitypolicy.html
Is there a workaround (someone made already and can contribute) to use the CXF implementation and Spring configuration from within an own Interceptor (which adds then the policy to the WSDL)?
Using the dynamically created wsdl is extremely convenient, and so being able to include WS-Policy in some form would be useful, in fact essential. Perhaps one could annotate Endpoints with policy references. Feedback and thoughts in this regard would be appreciated.