Webservice Secure Client on Glassfish

I have a secure external web service at https: // my-webservice-path? Wsdl and I want to connect to use it. This is 2-way ssl. I create a webservice client as follows:

  • Create java Application1 application
  • in the project window, click the Application1 icon β†’ new β†’ web service client
  • paste my url into the WSDL url, client type is JAX-WS, package: com.mypackage
  • finish

But an error appears: Error: An I / O error has occurred. Fatal warning received: handshake_failure

And I cannot create links to web services. I am using Glassfish 3.0.1 server.

I tried replacing the alias s1as in the keystore.jks and cacerts.jks files from Glassfish with my keypair and certificate, but it still does not work.

I also tried using wsimport to parse the wsdl file, but could not: (

I posted this question in the Oracle Forum at http://forums.oracle.com/forums/thread.jspa?threadID=2214292&tstart=0 , but did not receive an answer. I tried to solve this within 2 days :(

What can I do now to solve this problem? Plz help me, thanks!

+4
source share
1 answer

please check the response from Catchwa in mutual authentication with web services . The steps to implement mutual authentication based on fiberglass are described in detail.

0
source

All Articles