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?
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.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop