You need Apache Ant 1.6.2 or higher to build the samples.
The steps are as follows:
Run the WSO2 Application Server by executing one of the following commands, where
<PRODUCT_HOME>
is the directory where you installed the product distribution:OS Command On Windows <PRODUCT_HOME>\bin\wso2server.bat --run
On Linux/Solaris sh <PRODUCT_HOME>/bin/wso2server.sh
In a command prompt, switch to the samples directory. To determine <Axi2-Sample>, see Axis2 Sample Folder.
For example, in Windows:
cd <PRODUCT_HOME>\samples\<Axi2-Sample>\
Enter the following command:
ant
Axis2 Sample Folder
Sample | Axis2 Sample Folder |
---|---|
Enabling WS-Transfer (xfer) Support for Web Services | Xfer |
Invoking Applications RESTfully | FlickrClient |
JiBX Data Binding | Jibx |
JSON Support | JSON |
MTOM Capabilities | MTOM |
QoS - Security and Reliable Messaging | CommodityQuote |
QoS - Security and Reliable Messaging - Example 2 | Trader |
Usage of Metadata Exchange (MEX) | MEX |
Usage of SOAP and REST | TinyURL |
Using Mail transport to Invoke Web Services | |
Writing Various Clients to Invoke Web Services | ClientAPI |