This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Calling Axis-Ant targets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Calling Axis-Ant targets" Watch "Calling Axis-Ant targets" New topic

Calling Axis-Ant targets

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3476

I want to use AXIS tool inside my Ant build file.
I did the following (inspired by AXIS's doc):

Then I wrote the following task :

But I got an error because axis-java2wsdl is not defined (or something like).
Any help ?
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30085

antcall is used to call other targets in the build file. axis-java2wsdl is a task, not a target. generate is a target. (The verbiage is important here.)

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
wood burning stoves
subject: Calling Axis-Ant targets
Similar Threads
Ant Tools 'java.lang.NoSuchMethodError
How To :: Generating WSDL file from eclipse(java2wsdl & wsdl2java from eclipse)
Generating Web Service Server from a WSDL
AXIS-JAVA2WSDL ClassNotFoundException
trouble generating wsdl using ant task