aspose file tools*
The moose likes Web Services and the fly likes SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate" Watch "SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate" New topic
Forums: Web Services Java in General
Author

SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
I am getting the below error talking to a https web service.



I am using spring's WebServiceTemplate and below's my xml configuration for it




I am able to hit the service from soapui but not from the sample java code I wrote. Should we have received some security certificates from the 3'rd party wsdl folks? I tried getting the server's certificate (Following this article - mkyong.com/webservices/jax-ws/…) and adding it to my jdk trust store but I am getting the below error now - org.springframework.ws.client.WebServiceTransportException: Precondition Failed [412]

Could some one please point me to why this is happening and how I can resolve this?

Thanks


Be Humble... Be Nice.
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Anybody?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate
 
Similar Threads
Compile Error: The prefix "util" for element "util:list" is not bound.
Persistent Connection : Sping-ws Client
Spring-ws client with Jax-ws web service
problem with jpa+spring
Failed to read schema element