On Friday 03 December 2010 5:26:43 pm Juan Pablo Pizarro wrote: > Hello. Can the script wsdl4java create a client whith these anotations?
No because it doesn't need to. The client would normally use the wsdl at runtime to determine the policies and configure itself appropriately. Dan > > Thanks. > > JP > > 2010/12/3 Daniel Kulp <[email protected]> > > > 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 -- Daniel Kulp [email protected] http://dankulp.com/blog
