WS-SecurityPolicy is enabled thru WSIT extensions. See
http://java.sun.com/webservices/interop/reference/tutorial/doc/WSITTutorial.pdf
and try out frm
https://wsit.dev.java.net/.
-vivek.
Ingo Siebert wrote:
> Hi,
>
> i've read that JAX-WS 2.1 supports WS-SecurityPolicy, is this true?
>
> Is it possible to add the security related information (like
> UsernameToken) _only_ to the WSDL and wsImport will generate client
> stubs which will create the username token?
>
> How does the generated class know which username/password callback
> class should be used?
>
> Cheers,
>
> Ingo