File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAPHttpConnection and SSL

 
Niral Trivedi
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic