user1084509
user1084509

Reputation: 1902

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?

Upvotes: 1

Views: 7937

Answers (1)

Will Hartung
Will Hartung

Reputation: 118804

Download the WSDL manually and then generate the web service off of the downloaded file.

Upvotes: 4

Related Questions