ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: where is wsdl2Java?
Date Wed, 29 Nov 2006 15:01:28 GMT
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
ant compile -Dxmlbeans.present=true

Buildfile: build.xml

axis-clover-setenv:

axis-clover-setup:

axis-xmlbeans-setenv:

axis-xmlbeans-setup:

setenv:

copy:

compile:
No public execute() in class org.apache.axis2.wsdl.WSDL2Java

BUILD FAILED
C:\AXIS\Axis-2_1\src\axis\samples\xbeans\build.xml:61: No public execute() in class org.apache.axis2.wsdl.WSDL2Java

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

Any Suggestions?
M-

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 
contents


> Martin:
> 
> I believe you have to get a jar from the Apache Axis website...
> 
> Scot
> 
> Martin Gainty wrote:
>> All-
>> I am attempting to locate the jar which contains the taskdef'ed wsdl2java task?
>> Thank You,
>> 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 
>> contents
>>   
> 
> -- 
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-754-4592 (Work)
> 
> Chief Architect JPlate  http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>
Mime
View raw message