从单个客户端消耗多的WCF服务 [英] Consuming multiple WCF services from a single client

查看:124
本文介绍了从单个客户端消耗多的WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经托管使用控制台适用的两个WCF服务,另一个在端口8080,另一个在端口8090。我能够创建对象命名服务第一的 AccountManagementService 而不是为其他服务名为 UserRegistrationService

I have hosted two WCF services using a console application, one on port 8080 and the other at port 8090. I am able to create object for the first service named AccountManagementService but not for the other service named UserRegistrationService.

下面快照显示两个服务已被添加。

Snapshot below shows that two services have been added.

第二项服务中不显示的智能感知的。

The second service doesn't show up in intellisense at all.

使用可以在下面的链接中找到该服务的完整细节(这也是问了我一个问题): <一href="http://stackoverflow.com/questions/22973816/hosting-two-wcf-services-using-a-single-console-app?noredirect=1#comment35122639_22973816">Hosting使用一个单一的控制台应用 2 WCF服务

The complete details of the service used can be found at the following link(this is also a question asked by me): Hosting two WCF services using a single console app

我已经试过多次删除,并创造新的服务,但似乎没有奏效。请建议。

I have tried multiple times deleting and creating new service but nothing seems to be working. Please suggest.

推荐答案

找到了解决办法。不知道我理解的原因,虽然。但是,下面的链接有答案,我的问题并解决它。

Found the solution. Not sure I understand the reason, though. But the following link has answers to my issue and has solved it.

<一个href="http://stackoverflow.com/questions/1408509/sometimes-adding-a-wcf-service-reference-generates-an-empty-reference-cs/1409065">Empty Reference.cs文件的问题解决了

这篇关于从单个客户端消耗多的WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆