• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issue overriding AxisProperties.setProperty() setting for multiple requests

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Axis version : 1.3, 1.4

We have a requirement wherein we need to incorporate different SocketFactories (secure and non-secure) for multiple requests. Each request needs to set AxisProperties.setProperty("axis.socketSecureFactory", "<socketFactory>")

The problem observed here is that the initial setting of this property is not being overridden in the subsequent requests if those requests need to set a different value in this property. The consequences are as follows :

If a request 1 sets this property to �SunFakeTrustSocketFactory� and then a 2nd request is fired which needs to set this property to �CustomJSSESocketFactory� then the setting done initially, i.e. �SunFakeTrustSocketFactory� does not get overridden by the second setting.

It seems that this setting is getting persisted somewhere and its not easy to override it. Could you help me understand how we can override this? Thanks in advance !!

Viresh Suri
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you found the solution to this yet?

~J
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"jteoee guy here", please check your private messages for an important administrative matter.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the solution to Viresh's question? Any update? We have a similar issue with Axis 1.4 and cannot migrate to a higher version. Is there a work-around that, we can implement?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic