• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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..
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic