• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis and SSL connection

 
Niral Trivedi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can somebody please point me to any resources where I can find how can I write Web Service client using Apache Axis which connects to https URL?

I have found some which are doing and and then using SOAPHttpConnection and Call Interface to make SOAP call. But I can not use System.setProperty as our system environment does not allow that. So, what else can I use? I found examples to use KeyStore and KeyManagerFactory classes but I am not sure how can I use them with Axis?

Any help will be appreciated.

Thanks in advance
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the thread "Axis client handler" from last week. I posted a link to a relevant article about Axis and SSL there.
 
Niral Trivedi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

Thanks for such a quick response. I checked the article in that thread. But isn't it also setting System properties for truststore file location and password? Basically I can not do System.setProperty.

I have found somewhere how to read truststore using KeyStore and KeyManagerFactory classes from jsse package. But I do not know how can I use them with Axis. So, can you point me to something in that direction?

I have found this link : http://xml.sys-con.com/read/40248.htm but this is for apache SOAP and that did not work for me for Apache SOAP so I am not sure whether I can try that with Axis as well or not.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic