my dog learned polymorphism*
The moose likes Web Services and the fly likes WSDL2JAVA DuplicateFileException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2JAVA DuplicateFileException " Watch "WSDL2JAVA DuplicateFileException " New topic
Author

WSDL2JAVA DuplicateFileException

Ayyappan Selvaraj
Ranch Hand

Joined: Sep 20, 2004
Posts: 63
Pals, Im trying to generate client compenents from WSDL using Axis 1.4 and ANT scripts. But I get this exception. When I tried with other Axis versions of 1.3, 1.2 I got the same exception but with diffener java class. Suggestion please..
Thanks in advance...

Iftikhar Arain
Ranch Hand

Joined: Jul 17, 2002
Posts: 95

which version of axis are you using? . can you post the wsdl. this exception occured when you run the ant script more than one time and few classes generated and few of them not and you are trying to run the ant script again so you will get this error.


SCJP,SCWCD,IBM UML,FLEX & AIR,MCAD,MCSD, Adobe ACE
Iftikhar Arain
Ranch Hand

Joined: Jul 17, 2002
Posts: 95

sorry I havn't seen that you are using axis 1.4 . Please check the folder for already generated files before running the ant script again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL2JAVA DuplicateFileException
 
Similar Threads
Within Eclipse - ant javac task and OutOfMemory error.
The absolute uri: http://java.sun.com/jstl/core cannot be resolve
Axis wsdl2java generation duplicate file name issue
jelp me guys...its urgent
Trying to call WSDL2Java.main, but having issues when redirecting output