This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
 
wood burning stoves
 
subject: WSDL2JAVA DuplicateFileException