I am starting a long-lived process that has output variables using a .Net web service call. I would like to be able to get these output variables. I cannot find any functionality in the JobManager service to do this...is there another way to do this? I am not above querying the Livecycle database....
Thanks,
Mike
Solved! Go to Solution.
Views
Replies
Total Likes
It will only work after the process is "completed" ....so you must check the status ...and when that is completed then you can check the results.
Paul
Views
Replies
Total Likes
When you "invoke" the long lived process it will return to you a Process ID. This process ID is an input to the other methods that are exposed by the web service. If you call "invoke_Status" and pass the Process ID as input it will return to you a status of your process. When it is complete then you can call "invoke_Result" with the ProcessID as input and it will return the outputs to you.
Hope that helps
Paul
Views
Replies
Total Likes
Well, I'm trying to use the JobManager Service...this does not seem to have an invoke_status or an invoke_result. This has a getStatus, but no getResult. I am able to use getStatus to determine if the job is complete, but I can't get the results.
When you say to call invoke_Result, are you talking about a web service call? Which web service are you referring to?
Thanks,
Mike
Views
Replies
Total Likes
Yes a web service call
Paul
Views
Replies
Total Likes
Ok, which web service wsdl? For example, for the JobManager wsdl I am using:
http://<LIVECYCLE URL>/soap/services/JobManager?wsdl
The methods available are:
My problem is I don't see any invoke_Result.
Views
Replies
Total Likes
Views
Replies
Total Likes
I could never get invoke_result to work with a long-lived process. Is it designed to work this way? So you just make a call to:
results = myServiceReference.InvokeResult(args)
and just wait? This does not work when I try it using a .NET web service call.
Views
Replies
Total Likes
It will only work after the process is "completed" ....so you must check the status ...and when that is completed then you can check the results.
Paul
Views
Replies
Total Likes
I see, I'll try that. Thanks for your help.
Views
Replies
Total Likes
Views
Likes
Replies