ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shweta Bodade" <>
Subject RE: <wsdl2java > TASK does not work
Date Wed, 01 Mar 2006 11:22:55 GMT

Thanks a lot well 

Ant really does not have a direct task like <wsdl2java>

So finally a wrote this and my wsdl file is getting converted to java file
and the code is like

<property name="Google.dir" value="Google"/>
<property name="Google-gen.dir" value="${Google.dir}/generated-files"/>
<property name="Google-classes.dir" value="${Google.dir}/classes"/>
<property name="" value="amazon-test.jar"/>
	    <path id="axis.classpath">
	        <fileset dir="E:/unzipped/axis-src-1_2_1[1]/axis-1_2_1/lib">
	            <include name="*.jar"/>
	        <pathelement location="${Google.dir}"/>

	    <taskdef name="wsdl2java"
	        loaderref="axis" >
	        <classpath refid="axis.classpath"/>

	    <target name="create-stubs">
	        <mkdir dir="${Google-gen.dir}"/>
	    	<echo message="Before generation of files."/>
		 <wsdl2java url=""
	        <echo message="After generating java files."/>	         


This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom it is addressed.  If you have received this communication
in error, please immediately notify the and destroy the original message.
The recipient should check this email and any attachments for the presence of viruses.  Ness
has taken every reasonable precaution to minimize this risk, and accepts no liability for
any damage caused by any virus transmitted in this email.  Ness reserves the rights to monitor
and review the content of all messages sent to or from this E-mail address, and store them
on the Ness E-mail system.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message