Hi,
To use the WSDL2C tool you have to include all the jars in the Axis2 lib
directory if you download to your class path. Following shell script will do
the all the tasks required.
---
#!/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 $*
---
You can use this script with required options to generate code.
If your script is saved as WSDL2C.sh you can use following command to
generate server side skeletons:
sh WSDL2C.sh -ss -sd -d adb -u -f -o server
You have to change the AXIS2_HOME variable to point your axis2 directory. If
you build from the source point it to target directory.
For the Windows platform use the attached batch script.
Thanks
Milinda
On 4/26/07, Yogender Singh01 <[EMAIL PROTECTED]> wrote:
Hi all,
Which jar file is to be included in CLASSPATH for this tool?
TIA
yogender
CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this e-mail
or its contents to any other person and any such actions are unlawful. This
e-mail may contain viruses. Infosys has taken every reasonable precaution to
minimize this risk, but is not liable for any damage you may sustain as a
result of any virus in this e-mail. You should carry out your own virus
checks before opening the e-mail or attachment. Infosys reserves the right
to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored
on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***
--
[EMAIL PROTECTED]
WSO2, Inc: http://www.wso2.com "Oxygenating the Web Service Platform"
http://www.milindalakmal.wordpress.com
WSDL2C
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]