Description: Errors occurred during wsimport.
[failed to localize] wsimport.ParsingWSDL()
[failed to localize] wsimport.ErrorMessage(A class/interface with the same name "mypackage.MyClass" is already in use. Use a class customization to resolve this conflict.)
[failed to localize]
Reason:This is an error generated by the XJC that comes with JDK 1.6.
Solution: While there are parameters you can pass to the tool from command line etc, the simplest explanation is that there are multiple types of the same name in your WSDL/XSD. Resolve the duplicate names and you will be good to go.
The MyClass is the XSD type you are looking for! HTH!
[failed to localize] wsimport.ParsingWSDL()
[failed to localize] wsimport.ErrorMessage(A class/interface with the same name "mypackage.MyClass" is already in use. Use a class customization to resolve this conflict.)
[failed to localize]
Reason:This is an error generated by the XJC that comes with JDK 1.6.
Solution: While there are parameters you can pass to the tool from command line etc, the simplest explanation is that there are multiple types of the same name in your WSDL/XSD. Resolve the duplicate names and you will be good to go.
The MyClass is the XSD type you are looking for! HTH!
No comments:
Post a Comment