• Post Reply Bookmark Topic Watch Topic
  • New Topic

hit webservices with https

 
neha verma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am trying to hit webservices from java standalone alone. When I am invoking the url with http it is fine. But I want to use https to invoke the webservices. I have the security certificate but not sure how to use it. Another thing is I dont want a Yes /No prompt for security which comes when we hit with https. I want the validation to happen and bypass this prompt. I am using a standalone java class so need to bypass the prompt.
Please help with security certificate.
Thanks.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a non-browser client there will be no yes/no question about accepting certificates - it is either accepted or rejected (in which case there won't be a connection).

An introduction of how to install and use HTTPS with a Tomcat-based WS can be found in this SAAJ introduction.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!