Generate code from a WSDL using Axis2/C
We use the SRM WSDL as example:
wget http://sdm.lbl.gov/srm-wg/srm.v2.2.wsdl
Follow the
instructions here.
- Generate the client stub and the data binding code
$AXIS2C_HOME/bin/tools/wsdl2c/WSDL2C.sh -uri srm.v2.2.wsdl -u -t -f -o srmClient
The code is generated in the
srmClient directory.
- Generate the service skeleton and the data binding code
$AXIS2C_HOME/bin/tools/wsdl2c/WSDL2C.sh -uri srm.v2.2.wsdl -u -t -f -ss -o srmService
The code is generated in the
srmService directory.