Overview
This sample demonstrates how to implement a secure webservice using WS-Security and access it through
an ESB endpoint. JBossESB relies of JBossWS for WS-Security support.
See more here.
This quickstart simply sends a signed and encrypted "Hello" message from a webservice client to
a JBossESB aware Webservice.
Prerequisits
Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
and a more detailed descripton of the different ways to run the quickstarts.
NOTE: This Quickstart requires the JBossRemoting 2.2.2SP2 or higher patch to be applied.
This simply involves downloading jboss-remoting.jar
and copying it into your "server/<server>/lib" folder. Be sure to restart your JBoss
Application/ESB Server instance.
To Run
- In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- Open another command terminal window in this folder ("Window2"), type
'ant runtest'.
- Check "Window1" and "Window2" for output.
- To undeploy, type 'ant undeploy' in "Window1".
"Window1" should contain ESB Server side logging from the quickstart, showing the message before and
after execution through the SOAPProcessor.
"Window2" should contain Client side logging from the quickstart, showing that the secure "Hello" message
was successully echoed back from the Server. See
WSSClient.java.