本文介绍了WCF-如何在IIS 7中托管基于HTTP的MSMQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想在IIS 7中托管WCF-MSMQ服务.根据我的搜索,W CF - MSMQ(NetMsmqBinding)服务必须在IIS 7中托管在WAS(Windows激活服务)中,并且我找到了示例代码

Hi,
I want to host my WCF - MSMQ Service in IIS 7. According to my searches, WCF - MSMQ(NetMsmqBinding) services must be hosted in WAS(Windows Activation Service),in IIS 7, and I found sample codes,

(
the link is 
http://dotnet.dzone.com/news/msmq-wcf-and-iis-getting-them-
),



Non-Http based application.我需要使用我的Msmq服务创建wsdl(soap)文档,所以我需要创建基于http的msmq绑定...

在WCF服务库中,我创建了3个端点,
一个用于net.msmq://... binding...
一个用于基本的HTTP绑定...
mex http binding供客户端使用我的方法...

我到达了wsdl文档和方法,并从http绑定创建了Web服务引用,但它不是触发我的消息队列.



which are Non-Http based application. I need to create a wsdl(soap)document with my Msmq Service, so I need to create http based msmq binding...

In my WCF Service Library, I created 3 endpoints,
one for net.msmq://... binding...
one for basic http binding...
and a mex http binding for client to reach my methods...

I reach wsdl document, and methods, creating web Service Reference from http bindings, but it is not trig my Message Queue.

推荐答案


这篇关于WCF-如何在IIS 7中托管基于HTTP的MSMQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 17:02