You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2006/12/15 09:37:32 UTC

svn commit: r487484 - in /webservices/axis2/trunk/c/tools/bin: README.txt WSDL2C.bat

Author: dushshantha
Date: Fri Dec 15 00:37:32 2006
New Revision: 487484

URL: http://svn.apache.org/viewvc?view=rev&rev=487484
Log:
a dos bat file to use code gen tool

Added:
    webservices/axis2/trunk/c/tools/bin/WSDL2C.bat
Modified:
    webservices/axis2/trunk/c/tools/bin/README.txt

Modified: webservices/axis2/trunk/c/tools/bin/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/bin/README.txt?view=diff&rev=487484&r1=487483&r2=487484
==============================================================================
--- webservices/axis2/trunk/c/tools/bin/README.txt (original)
+++ webservices/axis2/trunk/c/tools/bin/README.txt Fri Dec 15 00:37:32 2006
@@ -1,23 +1,23 @@
-WSDL2C.sh
-=========
-
-This file is to simplify the C code generation using WSDL2C java tool. 
-
-How to use
-----------
-1. Open WSDL2C.sh
-2. Set your axis2_java home directory in the line 'export AXIS2_HOME=/home/axis2java' and save it.
-3. run WSDL2C.sh giving WSDL2C command line arguments as the arguments to the shell script.
-
-
-Examples
---------
-
-To generate a server skeleton in C:
-	sh WSDL2C.sh -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u
-
-To generate a client stub in C: 
-
-	sh WSDL2C.sh -l c -uri interoptestdoclitparameters.wsdl -d adb -u 
-
-
+WSDL2C.sh
+=========
+
+This file is to simplify the C code generation using WSDL2C java tool. 
+
+How to use
+----------
+1. Open WSDL2C.sh
+2. Set your axis2_java home directory in the line 'export AXIS2_HOME=/home/axis2java' and save it.
+3. run WSDL2C.sh giving WSDL2C command line arguments as the arguments to the shell script.
+
+
+Examples
+--------
+
+To generate a server skeleton in C:
+	sh WSDL2C.sh -uri interoptestdoclitparameters.wsdl -ss -sd -d adb -u
+
+To generate a client stub in C: 
+
+	sh WSDL2C.sh -uri interoptestdoclitparameters.wsdl -d adb -u 
+
+

Added: webservices/axis2/trunk/c/tools/bin/WSDL2C.bat
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/bin/WSDL2C.bat?view=auto&rev=487484
==============================================================================
--- webservices/axis2/trunk/c/tools/bin/WSDL2C.bat (added)
+++ webservices/axis2/trunk/c/tools/bin/WSDL2C.bat Fri Dec 15 00:37:32 2006
@@ -0,0 +1,8 @@
+set AXIS2_HOME = C:\axis2java
+setlocal EnableDelayedExpansion
+set AXIS2_CLASSPATH=%AXIS2_HOME%
+FOR %%c in ("%AXIS2_HOME%\lib\*.jar") DO set AXIS2_CLASSPATH=!AXIS2_CLASSPATH!;%%c;
+
+java -classpath %AXIS2_CLASSPATH% org.apache.axis2.wsdl.WSDL2C %*
+
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org