Posted: Sun Jun 01, 2003 8:17 pm Post subject: Refresh API of Execution Service
Newbie
Joined: 30 May 2003 Posts: 3 Location: india
The red books i have do not talk much about the refresh API of execution service , for that matter the documentation does not talk much for many things.
I was looking to see if the refresh() API of the Execution service actuallu refreshes the workflow session that the execution service is associated with. What else does this Refresh API do .
Thanks for the reply.
I do understand from the books that the service.refresh() refreshes the logon status from the server.
If a service Serv1 has an internal workflow session Id xx1 associated.During the course of the usage of the service if the workflow sessionId is lost then what does a service.refresh() do...????
This API is useful if you cache the sessionId in your application.
When u recontruct a service object with sessionId you donno whether that session is valid. The first action call to workflow will decide that. here you can use the service.refresh() API and verify the logon status without much overhead , if it throwa an excepyion you can relogin to workflow _________________ -manoj
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum