summaryrefslogtreecommitdiffstats
path: root/tools/codegen/javatool/README
blob: 395bbb055c97ab52f1e04e5c7c385c0b6f656173 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
WSDL2C.sh and WSDL2C.bat
========================

These scripts are provided to simplify the C code generation using WSDL2C Java tool that comes with Apache Axis2/Java. 

How to use
----------
1. Set AXIS2_HOME envionment vaiable to you Axis2 Java installation directory. 
   eg: 'export AXIS2_HOME=/home/axis2java' 
3. Run WSDL2C.sh giving WSDL2C command line arguments as the arguments to the shell script.

Note: Do the same for the bat file on Windows. 


Examples
--------

To generate a sevice skeleton in C:
Linux:
	sh WSDL2C.sh -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u
Windows:
      WSDL2C.bat -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u

To generate a client stub in C: 
Linux: 
	sh WSDL2C.sh -uri interoptestdoclitparameters.wsdl -d adb -u 
Windows
      WSDL2C.bat -uri interoptestdoclitparameters.wsdl -d adb -u