kvrsfdc / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

Regarding SessionRenewer Usage #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago
Here is a stripped down example of what I was able to get working.

Original comment by cody.le...@gmail.com on 10 May 2012 at 7:43

Attachments: