Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL2JAVA DuplicateFileException

 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic