ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Fw: where is wsdl2Java?
Date Wed, 29 Nov 2006 16:02:20 GMT
Hello All-

Any suggestions where to locate the axis-ant-plugin jar?

Martin -
This e-mail communication and any attachments may contain confidential and privileged information
for the use of the 
designated recipients named above. If you are not the intended recipient, you are hereby notified
that you have received
this communication in error and that any review, disclosure, dissemination, distribution or
copying of it or its 
----- Original Message ----- 
From: "Steve Loughran" <>
To: "Ant Users List" <>
Sent: Wednesday, November 29, 2006 10:13 AM
Subject: Re: where is wsdl2Java?

> Martin Gainty wrote:
>> Hi Scott-
>> I copied $AXIS2_HOME/lib/axis-codegen-1.0.jar (size 189.558) to %ANT_HOME/lib and
ran the samples.xbeans build.xml compile task
>> first I editted the build.xml to include the WSDL2Java class
>> vi build.xml
>>         <taskdef name="wsdl2java"
>>          classname="org.apache.axis2.wsdl.WSDL2Java"
>>          classpathref="classpath"/>
>> cd $AXIS2_HOME/samples/xbeans
>> compile:
>> No public execute() in class org.apache.axis2.wsdl.WSDL2Java
>> C:\AXIS\Axis-2_1\src\axis\samples\xbeans\build.xml:61: No public execute() in class
>> So it appears that class org.apache.axis2.wsdl.WSDL2Java not having execute() method
will not allow the class to be taskdef'ed in Ant
> That means it isnt an ant task. Ant will turn any class which implements 
> public void execute() into a task, but not things that don't. Wsdl2Java 
> has to be somewhere else.
> In my copy of axis2 from a year ago, the axis-ant-plugin module has a 
> class org.apache.axis2.tool.ant.AntCodegenTask. I do not know if this is 
> what you want or not. I'd also point you at the axis user and then axis 
> dev mail lists, as they are the people who know the code.
> -steve
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message