Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsimport - can't generate client classes

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When generating client classes from wsimport command, I am getting following exception:


javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path torequested target


I searched on net and found that I will have to download the certificate first and then specify that when issuing wsimport command.

How do I install certification? When I click on Install Certification on security warning window, it installs somewhere but I don't know the location.

If anyone tried generating client classes for "secured" WSDL with wsimport command, please give me some pointers?

Thanks.
[ September 02, 2008: Message edited by: ankur rathi ]
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue is solved after I told my JDK that the site's certificate is trusted one (installed certificate from that site and added that into JDK's cacerts file).

Let me run the stub (client) and see what next (error) I get?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic