but the workflow is using THE thread that your web service request is executing on, so the web service code itself does not even gain control back before the workflow idles. There is no easy way to return data back to the client or work with it in the web service code while the workflow is using the request thread.
I agree that adding in that code in your case will be messy, especially with a state machine. You may want to look at using some custom code for doing the web service interaction instead of using the built in support.
Matt
See What You Can Learn -- http://www.pluralsight.com/courses/IntroducingWF.aspx |