Activate IIS Hosted Workflow With MSMQ Using net.msmq Binding

I have successfully implemented a standard WCF service bound to MSMQ using the net.msmq binding. I followed the instructions in a series of MSDN articles that are referenced through here: http://msdn.microsoft.com/en-us/library/ms751490.aspx

The issue now is that I would like to use the WCF net.msmq binding to activate a WF4 service. This has turned into a major frustration. As soon as I deploy the workflow to IIS, the message box is drained of all messages. However, no instances of the workflow are activated, and I do not see any trace information for WCF calls (I have troubleshooting log (trace) level configured in AppFabric).

In terms of troubleshooting / verification: I have configured and verified that WAS is configured, net.msmq binding is installed for the site, and net.msmq is enabled for the application. Furthermore, the Net.MSQM Listener service is running.

I have not had much luck when Binging / Googling the issue. There are similar questions online, but the answers are incomplete and the questions aren't related to IIS (w/ WAS) hosting. Any help or suggestions you can provide would be greatly appreciated. I've included my full demo solution for anyone that is curious in seeing what is done thus far: http://www.bloggedbychris.com/wp-content/uploads/2012/01/ProofOfConcept.WfConvoy.zip


A document here describes how to configure IIS + WCF + WF4 + MSMQ combination:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3a+MicrosoftDownloadCenter+%28Microsoft+Download+Center%29&id=21245


Microsoft Server AppFabric makes this easy. You simply have to set the "Auto-Start" property and voilá!

More information can be found here.

链接地址: http://www.djcxy.com/p/95876.html

上一篇: 哪一个更适合WF4.0的架构?

下一篇: 使用net.msmq绑定激活使用MSMQ的IIS托管工作流