Reputation: 1902
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?
Upvotes: 1
Views: 7937
Reputation: 118804
Download the WSDL manually and then generate the web service off of the downloaded file.
Upvotes: 4