I created a state machine activity and am attempting to trigger a state transition by using the 'ReceiveAndSendReply' WCF template that is provided in the VS2010 ToolBox.
Using the VS 2010 Workflow designer, I dragged a 'ReceiveAndSendReply' template into the transition area between State1 and State2 in the state machine WF.
As expected, when I start the state machine workflow, it waits in State1's transition area to receive a WCF message so that it can then transition.
The problem I'm having is that I don't know how to send the State Machine the WCF message it appears to be waiting for, so that it can transition to State2.
(I can't discover it on the client end.)
Specifically, I set up a separate ConsoleClient project to send a WCF request to the state machine WF project.
However, when I try to add a service reference, I cannot 'discover' the service operation contained in the transition area (ReceiveAndSendReply template) for State1.
It does not appear in the available services list.
How can I use WCF send/receive calls to trigger a state machine workflow state?