ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Refresh API of Execution Service

Post new topic  Reply to topic
 Refresh API of Execution Service « View previous topic :: View next topic » 
Author Message
Jamesmarley
PostPosted: Sun Jun 01, 2003 8:17 pm    Post subject: Refresh API of Execution Service Reply with quote

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 .
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Jun 02, 2003 8:45 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Service.refresh() call refreshes the logon status from the server.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
Jamesmarley
PostPosted: Mon Jun 02, 2003 8:19 pm    Post subject: Reply with quote

Newbie

Joined: 30 May 2003
Posts: 3
Location: india

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...????
Back to top
View user's profile Send private message
manoj
PostPosted: Tue Jun 03, 2003 3:55 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

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
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Refresh API of Execution Service
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.