Topic by Joe Seefeldt
Content
Hello, I'm creating a java client to consume the Location API methods. I grabbed the wsdl and generated the Java classes using Axis2. I'm getting the following error message when calling set_position(): javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake.
I've pulled the SSL certificate from the wsdl endpoint (https://api.etadirect.com/soap/gps/?wsdl) and imported it into the local jvm cacerts keystore. But I don't see any way to tell the generated Java objects to use the imported cert. I've searched for days but don't see any reference to using the cert on the discussion boards or the OFSC documentation, except for a reference to generating the soap headers in the Soap UI Client.
How do I use the SSL cert with a java client library for the GPS API?
I'm using jre1.8.0_40, Eclipse Luna, Windows 7.