axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r482986 - in /webservices/axis2/trunk/c/tools/bin: ./ README.txt WSDL2C.sh
Date Wed, 06 Dec 2006 09:31:26 GMT
Author: dushshantha
Date: Wed Dec  6 01:31:24 2006
New Revision: 482986

URL: http://svn.apache.org/viewvc?view=rev&rev=482986
Log:
Added a shell script to generate C code using WSDL2C java tool.

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

Added: webservices/axis2/trunk/c/tools/bin/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/bin/README.txt?view=auto&rev=482986
==============================================================================
--- webservices/axis2/trunk/c/tools/bin/README.txt (added)
+++ webservices/axis2/trunk/c/tools/bin/README.txt Wed Dec  6 01:31:24 2006
@@ -0,0 +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 
+
+

Added: webservices/axis2/trunk/c/tools/bin/WSDL2C.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/tools/bin/WSDL2C.sh?view=auto&rev=482986
==============================================================================
--- webservices/axis2/trunk/c/tools/bin/WSDL2C.sh (added)
+++ webservices/axis2/trunk/c/tools/bin/WSDL2C.sh Wed Dec  6 01:31:24 2006
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+export AXIS2_HOME=/home/axis2java
+
+for f in $AXIS2_HOME/lib/*.jar
+do
+  AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$f
+done
+export AXIS2_CLASSPATH
+
+echo the classpath $AXIS2_CLASSPATH
+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


Mime
View raw message