Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SSL communication problem with axis webservice client  RSS feed

 
Bhavin Langalia
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I need to use custom secure socket factory while communicating through axis client to use self signed certificate . But even if I set custom factory using System
.setProperty("org.apache.axis.components.net.SocketFactory","myfactory") , default (i.e.JSSESocketFactory) only getting called.

I also tried using AxisProperties.setProperty() but no luck

Can anybody help?

Thanks in advance,
Bhavin
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. A quick search returned this. It may be what you are looking for. Per the article, you need to set the property "axis.socketSecureFactory" instead of "org.apache.axis.components.net.SocketFactory". Please let us know if this works. Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!