I'm trying to generate files / class from a Web Service and bring it to my Java project.
For this I am using Netbeans IDE 8.0.2
At first I'm getting the message "Uma classe/interface com o mesmo nome já está sendo usada. Use a personalização de classe para resolver este conflito."
During my searches I found a very similar case: link
The link author indicates that I should set the property -b-xautoNameResolution
(with the value true) (image below) in options wsimport
and this will solve the problem.
Thenthelogshowsmethefollowingerror:
My question is, as the -b-xautoNameResolution
command did not stop at the wsimport
execution line (as shown in the above log).
With wsimport
at the command prompt I can do this: