File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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: 30123

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
I agree. Here's the link:
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