aspose file tools
The moose likes Web Services and the fly likes hit webservices with https Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "hit webservices with https" Watch "hit webservices with https" New topic
Author

hit webservices with https

neha verma
Ranch Hand

Joined: Jun 17, 2007
Posts: 37
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.


Neha Verma
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35223
    
    7
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: hit webservices with https
 
Similar Threads
SSL handshake failure
How to import Self signed Certificate to be used in java program ..???
How encrpyt all files on web server so decryptable by all users' keys?
No trusted certificate found : when opeing a ssl connection from behind the proxy.
Java Security Certificate Doubt