Chapter 11.  WSS4J security on JBoss

Here is a brief chapter on how to use Chapter 10, WS-Security on JBossWS-CXF. Here you'll find some explanations on how to create a simple application and what you need to do to leverage WSS4J security on JBoss.

11.1.  Creating the web service endpoint

First of all you need to create the web service endpoint or client using JAX-WS. This can be achieved in many ways. For instance you might want to:
  1. Write your endpoint implementation, then run the wsprovide JBoss command line tool which generates the service contract.
  2. Run the wsconsume JBoss command line tool to get the client artifacts from the service contract (top-down approach).
  3. Write your client implementation.