This sample uses Ruby so first setup support for this in ESB as described at set up support for.
- Start the Synapse configuration numbered 353: i.e. wso2esb-samples -sn 353
- Start the Axis2 server and deploy the SimpleStockQuoteService if not already done
This sample is functionally equivalent to sample # 350 (#351 and #8) but instead uses a Ruby script using the JRuby interpreter. The script has two functions, 'transformRequest' and 'transformResponse', and the Synapse configuration specifies to be invoked when used. Execute the stock quote client to send a custom stock quote as per per Sample 350 and check the received stock quote response.