hugoloza / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Failed to connect web service with SSL secure connection (digital certificate) #456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1.We have implemented web service client using spring.
2.Build spring web service template with TrustManger,Keymanager.
3.Trying to connect https secure conenction using the spring web service 
template.

What we have implemented is working fine in normla java application .
While converted to GWT its not working .
We are getting the following error 

java.net.SocketTimeoutException: Timeout while fetching: 
https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico2

Some times we will get the below excetion 

javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for URL: 
https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico2
    at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:144)
    at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:43)
    at com.inc.server.TestClient.getData(TestClient.java:103)
Current verion :

appengine-java-sdk-1.8.9
gwt-2.1.1

Original issue reported on code.google.com by sathis...@gmail.com on 3 Sep 2014 at 12:01