I was playing with this new feature introduced in WSC API release v20. I wish
it was documented somewhere, I just found it while debugging ConnectorConfig.
It would be great, if we can have a release notes wiki page, to explain whats
changed in the API for a release.
Anyway, what I was trying with Java code is available in
attachments(WSCSessionTest.java). I can't make SessionRenewer work correct for
me, I believe, its just written to take care of timed out salesforce sessions.
But session can get invalidated in other ways too. For my testing I just used
the "logout()" call. So I would suggest, to make SessionRenewer work
generically on INVALID_SESSION_ID fault codes too.
It would be great, if you can provide a sample showing how to use
SessionRenewer correctly.
Original issue reported on code.google.com by abhinavgupta697 on 14 Nov 2010 at 6:39
Original issue reported on code.google.com by
abhinavgupta697
on 14 Nov 2010 at 6:39Attachments: