axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Pathirage" <milinda.pathir...@gmail.com>
Subject Re: [Axis2C] Regarding WSDL2C tool for Axis2C
Date Thu, 26 Apr 2007 08:17:31 GMT
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 <Yogender_Singh01@infosys.com> 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***
>



-- 
milinda@wso2.com
WSO2, Inc: http://www.wso2.com "Oxygenating the Web Service Platform"
http://www.milindalakmal.wordpress.com

Mime
View raw message