I tried following condition check in ODEProcess.java.
if(mexdao.getInstance().getState() == ProcessState.STATE_SUSPENDED){
throw new InvalidProcessException("Instance is
suspended.", InvalidProcessException.SUSPENDED_CAUSE_CODE);
}
Is it ok to handle it in that way or is there any other things I have to
consider when checking for suspended instances.
Thanks,
Milinda
On Tue, Mar 17, 2009 at 9:41 PM, Matthieu Riou <[email protected]>wrote:
> On Tue, Mar 17, 2009 at 7:33 AM, Milinda Pathirage <
> [email protected]> wrote:
>
> > Hi all,
> > If user invokes a suspended instance (For example, we have suspended a
> > instance of counter process and user invokes get method of that
> particular
> > instance), do ODE responds with a meaningful error like "Cannot Invoke
> > suspended instances".
> >
>
> OTOH I don't think we have a specific fault for this. So the answer is:
> probably not.
>
> Matthieu
>
>
> >
> > Thanks,
> > Milinda
> >
> > --
> > http://mpathirage.com
> > http://wso2.org "Oxygen for Web Service Developers"
> > http://wsaxc.blogspot.com "Web Services With Axis2/C"
> >
>
--
http://mpathirage.com
http://wso2.org "Oxygen for Web Service Developers"
http://wsaxc.blogspot.com "Web Services With Axis2/C"