i am trying to use the command wsimport to get the java classes for a SOAP Service, but i get lots of errors.
The Url WSDL is this https://onlineavl2api-mx.navmanwireless.com/onlineavl/api/V1.3/service.asmx?WSDL
and this is one of the errors i get(there is a bunch)
[ERROR] Two declarations cause a collision in the ObjectFactory class.
line 820 of https://onlineavl2api-mx.navmanwireless.com/onlineavl/api/V1.3/ser
vice.asmx?WSDL
wsimport is trying to generate classes in the same package with same name, to fix this I would try:
1.- ommit -p clientC
or
2.- Add an annotation on the webservice like this:
took from Name Collision In Wsimport Generated Class And My Original Web Service Class
Best Regards