|
Hi
I have been looking at this problem for a large part of the day and i'm completely stumped!
I have created a state machine workflow exposed as a web service. On the initial state I have an event driven activity which contains a WebServiceInput activity and a WebServiceOutput activity. This all works fine.
As an initial test on how to handle a WorkflowAuthorizationException I have set up the roles on the WebServiceInput activity to ensure that an authorization exception will be thrown. My problem is that I don't want the workflow to be terminated when a workflow authorization exception occurs. Instead I want a soap exception to be sent back to the client indicating an authorization exception and the workflow should remain at the same state. To me, this sounds like a very common requirement. Adding a WebServiceFault to a FaultHandler in the FaultHandlers for the EventDriven activity does not work.
I thought this was going to be easy... but by the end of the day i'm still pulling my hair out! Am I missing something here?
Any help would be greatly appreciated.
Duncan |