Follow the steps below to set up the environment to try out the examples given in each enterprise integration pattern.
To deploy the back-end service SimpleStockQuoteService, navigate to the
<ESB_HOME>/samples/axis2Server/src/SimpleStockQuoteServicedirectory and execute the
antcommand in a new Console tab.
For more information on deploying sample back-end services, go to Deploying sample back-end services in WSO2 ESB documentation.
To start an Axis2 server instance, navigate to the
<ESB_HOME>/samples/axis2Serverdirectory and execute the corresponding command in a Console tab.
- On Windows:
By defualt, Axis2 runs on HTTP port 9000 and HTTPS port 9001. In some samples, you may need to start multiple Axis2 server instances. For example, you can start two instances of the Axis2 server to run in ports 9000 and 9001 by executing the following commands in two new tabs of the Console:
For more information, go to Starting the Axis2 server in WSO2 ESB Documentation.
- On Windows:
Download and install WSO2 ESB Tooling.
The samples in this guide are tested on JDK 1.8 and Eclipse Mars 2. For more information, see Installing WSO2 ESB Tooling in WSO2 ESB Documentation.
- Run the WSO2 ESB server. For instructions, see Running WSO2 ESB via Tooling in WSO2 ESB Documentation.
If you want to try the samples using the Management Console, create a Composite Application (CAR file) of the project you imported, click Main → Carbon Applications, and upload it to WSO2 ESB.