Hi --
 
Have any one tried implementing apache axis's SecureSocketFactory? The mail is 
about one issue that I am facing with its implementation. could anyone please 
shed some light on this... thanks
 
I have two implementations of SecureSocketFactory, say SSL1, SSL2 .. i.e.
 
public class SSL1 extends DefaultSocketFactory implements SecureSocketFactory
public class SSL2 extends DefaultSocketFactory implements SecureSocketFactory
 
Now i am making a call to a https webservice endpoint, say 
https://service1.com/.... , before making this call, i do 
AxisProperties.setProperty passing in the class name of SSL1, socket is created 
successfully and the service is invoked fine.
 
 now for a second https webservice say https://service2.com/... i wish to use 
SSL2 as the the socketfactory, again call the AxisProperties.setProperty 
passing in SSL2 as the class name... this however doesnot call SSL2 on seein 
the https url, instead SSL1 itself is being used. this is believe is an issue 
of axis caching its socketfactory and hence reusing the same for other requests 
in the same session. is there any resolution for this issue, as my requirement 
is to provide a second implmenetation(SSL2 in this case) for the second 
service..
 
thanks,
sanooj


      

Reply via email to