Когда я пытаюсь использовать wsimport
, используя следующую команду из командной строки, это прекрасно работает:wsimport не работает
wsimport -d generated C:\Users\generated\wsdlfile.xml
Однако, когда я пытаюсь использовать wsimport
, как показано ниже, это бросает следующее сообщение об ошибке:
wsimport -d generated https://example.com/exampleService.svc?wsdl
Failed to read the WSDL document: https://example.com/exampleService.svc?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s): At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.
Я могу получить доступ к URL-адресу из браузера, и то же самое работает с другими системами (с моего ПК). Что может быть причиной?
Похоже, существует проблема прокси. – Kartic