File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes SOAPHttpConnection and SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPHttpConnection and SSL" Watch "SOAPHttpConnection and SSL" New topic

SOAPHttpConnection and SSL

Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Hi All,
Can anybody give me some advise or point me to some resources that tell me how can I to SSL connection using SOAPHttpConnection class?

Basically, we have a web service client which connects to external SSL url. And currently to set up SSL, we use standard and
. And then use SOAPHttpConnection and org.apache.soap.rpc.Call class to do webservice call.
But now We are changing from JRUN to Websphere environment and we are not allowed to do . So, what will be the best approach to achieve the same thing what we are doing currently? I have seen some code using KeyStore and KeyManagerFactory but I am not sure how can I use them to tell SOAPHttpConnection to use the SSLContext that I have set up?

Please help.
I agree. Here's the link:
subject: SOAPHttpConnection and SSL
It's not a secret anymore!