java jdk自带的发布服务,wsimport命令生成客户端出错

J2EE 码拜 8年前 (2016-03-13) 1290次浏览
服务发布成功,能访问到服务也可以访问到wsdl文件,使用wsimport命令生成客户端代码的时候出错。
提示错误
[ERROR] Unexpected end of file from server
Failed to read the WSDL document: http://localhost:8080/123/hell, because 1) cou
ld not find the document; /2) the document could not be read; 3) the root elemen
t 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.
解决方案

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明java jdk自带的发布服务,wsimport命令生成客户端出错
喜欢 (0)
[1034331897@qq.com]
分享 (0)