• 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 custom socketFactory

 
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,

I am now successfully able to use Axis with my own SocketFactory class to make external SOAP webservice call. But having a little problem.

I am currently making 3 SOAP call to 3 different URL and for I have stored keystore for all 3 websites in same file. This runs fine but I was wondering whether it is possible to have 3 different keystore files instead of one. But I am not sure how will I get it working?

I tried loading 3 different keystore files one by one in my custom SocketFactory class but only the last one gets loaded. First 2 call give 'SSLHandshakeError : Unknown CA'.

Can somebody give any idea? If I create 3 separate SocketFactory class one each for one keystore then how can I tell Axis to load which socketFactory for which call?

Thanks in advance
 
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
there is a hashtable argument to the constructor of custom socketFactory. I believe we can pass the keystore file name/pass using this hashtable. But how can we populate this values in that hashtable?? Any idea?

I have looked through Axis-users mailing list archive and other resources and found that people were having this issue but could not find solution to this.

Please help..
 
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?
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