无法调用WCF服务 [英] Unable to call WCF service
本文介绍了无法调用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,
我创建了WCF服务。其中包含2个项目。
1.)Service.svc
2.)服务主机。
我启动了主机,然后在我的MVC项目中添加了ServiceReference。问题是我无法在Controller和Method中调用服务命名空间。
请解释解决方案是什么。
Dear Friends,
I have created WCF service. Which contain 2 project.
1.) Service.svc
2.) Service Host.
I started host then added ServiceReference in my MVC project. Problem is that i am unable to call service namespace in Controller as well as Method also.
Please explain what is the solution.
推荐答案
这篇关于无法调用WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文