【发布时间】:2014-05-29 13:39:50
【问题描述】:
我在尝试生成 Web 服务客户端时遇到问题 这是地址
*https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl*
我尝试了“eclipse”,没有任何反应,出现以下错误
*> The service definition selected is invalid.*
我也试过 wsimport 但它给了我这个错误
*> sun.security.validator.ValidatorException: PKIX path building failed:
> su n.security.provider.certpath.SunCertPathBuilderException: unable
> to find valid c ertification path to requested target Failed to
> read the WSDL document: https://apphom.correios.com.br/SigepMasterJPA/
> AtendeClienteService/AtendeCliente?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.*
我在 jvm 和 windows 中导入了数字证书, 我不知道发生了什么,有人可以帮帮我吗?
【问题讨论】:
标签: java eclipse web-services wsdl wsimport