简体   繁体   中英

Creating Web Service Client from WSDL that requires SSL certificate

I need to create a Web Service Client using Apache CXF 2.x in Eclipse from the following WSDL:

https://test.timbrado.com.mx/cfdi/wstimbrado.asmx?WSDL

The problem is that the web service requires a SSL certificate to work properly.

I already installed the certificate in my machine, added the certificate to the Java keystore (cacerts) located in ${jdk_home}/jre/lib/security/, but I don't know how to install this certificate in eclipse.

When trying to create the Web Service Client, I write the WSDL's URL and get the following error:

"The service definition selected is invalid"

Are there any solutions for this?

手动下载WSDL,然后从下载的文件生成Web服务。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM