File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2JAVA DuplicateFileException " Watch "WSDL2JAVA DuplicateFileException " New topic

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.

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:
subject: WSDL2JAVA DuplicateFileException
It's not a secret anymore!