wsimport not working

I have solved this issue on Windows by disabling all proxy settings as follows:

Internet Options > Connections > Lan Settings > Disable all check boxes

NOTE: Just adding localhost or my IP address as an exception to my proxy settings didn't work for me.


This seems to be an issue with the version of java that you are using...

Make sure you have java version "1.7.x" to resolve this issue.


I had this same issue and, in my case, the problem was the encoding of the WSDL file.

Try opening https://example.com/exampleService.svc?wsdl from a browser. If it can be completely parsed, you will see all the xml content. If not, at least Firefox will point you where the problem is.

Hope it helps someone in this situation

Tags:

Wsdl

Wsimport