无法使用wsimport创建存根?

时间:2014-08-12 06:45:14

标签: java web-services java-ee wsdl

我正在尝试使用WSDL创建存根。  但是Web服务正在使用SSL,所以我使用了 C:\Program Files\Java\jdk1.7.0_17\jre\lib\security>keytool -import -file my_home .crt 将必要的证书导入密钥库。但是当我尝试执行C:\Program Files\Java\jdk1.7.0_17\bin>wsimport -keep -s c:\SEI\ https://16.175.217.24:8443/cfcc/control?view=services/AdministratorService?WSDL parsing WSDL...时,我遇到了错误。  `解析WSDL ......

 [ERROR] java.security.cert.CertificateException: No subject alternative names pr
esent

Failed to read the WSDL document: https://16.175.217.24:8443/cfcc/control?view=s
ervices/AdministratorService?WSDL, because 1) could not find the document; /2) t
he 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.

。 ` 请帮我找出错误的根本原因?

提前致谢。 sushma。

0 个答案:

没有答案