• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Axis and SSL connection

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
rubbery bacon. crispy tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic