• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

SSLHandshakeException talking to a https Web service using Spring WebServiceTemplate

 
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anybody?

Thanks
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic