tag:blogger.com,1999:blog-12168038.post5345508768445914695..comments2024-03-22T20:10:32.785+05:30Comments on Vinod Singh: Let Spring load service class for JAX-WSVinod Singhhttp://www.blogger.com/profile/05770985867453681608noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-12168038.post-2385011237704843482009-10-02T00:28:47.859+05:302009-10-02T00:28:47.859+05:30We are facing some issue with caching of instance ...We are facing some issue with caching of instance but I am not sure if it same as you have mentioned here in your blog. What we are doing is trying to create a failover implementation where our webservice is deployed onto two hosts. <br /><br />We are caching the WS Client(custom made) object after we hit the webservice with a test message. If it works we cache it else failover takes place and the second url is tested with the message. It is cached if it works fine else says- webservice not available<br /><br />We have 2 urls: url1(working WS) and url2(non working WS). If we try to hit the url1 then it works fine but if we reverse the order of the url, it fails both the time. I found that after some debug that it is caching the stub.<br /><br />Here was my long story.<br />Any thoughts on this?Dhirajnoreply@blogger.com