On Friday 03 December 2010 1:40:52 pm Jeremy Robertson wrote: > I am using CXF with Spring for my SOAP service. The CXF version is 2.2.9. > > I have a custom interceptor in place to require the use of WS-Security > (username/password); however, the WSDL that is auto-generated does not > indicate that all the methods require the security header. > > Is there a way to make the WS-Security requirements display on the > auto-generated WSDL?
Not with CXF 2.2.x, no. With 2.3, we added an @Policy annotation that can be used to attach/include policy fragments into the generated WSDL which can be used for this purpose. -- Daniel Kulp [email protected] http://dankulp.com/blog
