How can we call wcf or web service from State Machine Activity in WF 4.0??

Mar 20, 2011 at 3:09 PM
Edited Mar 20, 2011 at 3:13 PM

How can we call a wcf or web service from State Machine Activity in WF 4.0 ???

Mar 22, 2011 at 3:36 AM

Calling WCF service inside of StateMachine 4.0 is the same as calling it from any other activities. In StateMachine 4.0, the activities defined in State.Entry/State.Exit and activities defined in Transition trigger and Transiton action can be any WF activities. You could first generate set of activiites for referencing the web service apis, and then include them in StateMachine activities.