Generate Java Web Service Client from HTTPS url

18,642

Capture the WSDL by other means, like download it with your browser and then access it locally with a non-SSL server (or even just a file). It looks like Eclipse can't deal with an SSL problem (which is likely a bug on their part, they should have an option to ignore it).

Share:
18,642
davioooh
Author by

davioooh

Hi, I'm David Castelletti. I like to create things with Java & Kotlin (❤). LinkedIn profile Personal Page + Blog (italian)

Updated on June 05, 2022

Comments

  • davioooh
    davioooh almost 2 years

    I'm implementing a test client for a web service. The service use HTTPS and I'm trying to use the Eclipse wizard to generate the client.

    Using this url Eclipse cannot find the WSDL definition: The wizard alerts that "The service definition selected is invalid." and the process cannot go ahead.

    The url is correct, I verified it implementing a .NET client and it works. The only issue is that the SSL certificate is expired.

    How can I generate the client correctly in java?