I have an secure external webservice at URL https://my-webservice-path?wsdl, and i want to connect to use this. This is a 2-way ssl. I create a webservice client in following:
- Create an java application Application1
- at Project window, click Application1 icon -> new -> Web service client
- paste my URL at WSDL URL, client type is JAX-WS, package: com.mypackage
- finish
But an error appears: Error: An I/O error occured. Received fatal alert: handshake_failure
And i can not create Web Service References. I use Glassfish 3.0.1 server.
I tried to replace the alias s1as in keystore.jks and cacerts.jks of the Glassfish by my keypair and certificate, but it still fails.
I also tried to use wsimport parsing wsdl file but fail:(
I posted this question in Oracle Forum at http://forums.oracle.com/forums/thread.jspa?threadID=2214292&tstart=0 but get no answer. i've tried to solve this for 2 days :(
What can i do now to solve this problem? Plz help me, thank you!