[英]Host WCF service in WinForms application
I use the same WCF service as here: How to consume wcf service running as windows service in ajax client 我使用与此处相同的WCF服务: 如何使用在ajax客户端中作为Windows服务运行的wcf服务
Thanks. 谢谢。
What you ask is not very clear, could you perhaps reword it a little bit? 您的要求不是很清楚,您能否改写一下? maybe perhaps post some code?
也许发布一些代码?
Also, have you enabled the MEX endpoint? 另外,您是否启用了MEX端点? or perhaps it is not correctly configured.
或它的配置不正确。 I had a similar problem in which the service appeared to be running but SvcUtil was unable to get any endpoint information.
我有一个类似的问题,其中服务似乎正在运行,但是SvcUtil无法获取任何终结点信息。 After some reconfiguration (both app.config and code) it worked and SvcUtil could find the endpoint information.
经过一些重新配置(app.config和代码)后,它开始工作,SvcUtil可以找到端点信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.