Note that WSO2 EI is shipped with the following changes to what is mentioned in this documentation:
repository/samples/directory that includes all Integration profile samples is changed to
repository/samples/resources/directory that includes all artifacts related to the Integration profile samples is changed to
Objective: Introduction to inline script mediation
- Create the above configuration and deploy it in the WSO2 EI profile, see Working with WSO2 Integration Studio.
- Start the Axis2 server and deploy the
SimpleStockQuoteServiceif not already done.
The functionality of this sample is similar to that of sample 350 and sample 8. It demonstrates how to use inline scripts in the mediation within the ESB. Use the stock quote client to issue a custom quote client as follows.