此内容没有您所选择的语言版本。
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:
- Write your endpoint implementation, then run the
wsprovide
JBoss command line tool which generates the service contract. - Run the
wsconsume
JBoss command line tool to get the client artifacts from the service contract (top-down approach). - Write your client implementation.