OK, that looks like the CLI version, rather than the ANT task. Any other
candidates in the Axis2 distro?
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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]