- Start the Synapse configuration numbered 703, e.g.,
wso2esb-samples.sh -sn 703
Start the Axis2 server and deploy the SecureStockQuoteService if you have not done so already.
- If needed, download and install the unlimited strength policy files for your JDK before using Apache Rampart (see http://java.sun.com/javase/downloads/index_jdk5.jsp)
Use the stockquote client to send a request without WS-Security. ESB is configured to enable WS-Security as per the policy specified by 'policy_3.xml' for the outgoing messages to the SecureStockQuoteService endpoint hosted on the Axis2 instance. The debug log messages on ESB shows the encrypted message flowing to the service and the encrypted response being received by ESB.
You can see the message sent by the ESB to the secure service using a TCPMon. Upon successful execution, there should be a message on the back end as follows:
Start the SimpleStockQuoteService. When you start the service, you will see the message getting delivered to the service, even though the service was down when we invoked it from the client. The Main sequence store mediator stores the placeOrder request message in the "MyStore" message store, and the message processor sends the message to the endpoint configured as a message context property. The message processor will remove the message from the store only if the message is delivered successfully.