WCF自托管与端点地址相关的问题 [英] WCF Self Hosting Problem related to endpoint address

查看:110
本文介绍了WCF自托管与端点地址相关的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建WCF自托管应用程序我创建了托管应用程序

运行正常。但在客户端它给出错误

(错误代码10061)我知道问题与客户端应用程序中app.config中指定的地址有关。需要解决方案来解决这个问题。



< system.servicemodel>

< client>

< ; endpoint address =http:// localhost:8090 / MyService / SimpleCalculator>

binding =wsHttpBinding

contract =MyCalculatorService.ISimpleCalculator> < br $>





I am trying to create the WCF Self hosting application i have created the hosting application
which is running fine. But in the client side it is giving error
(error code 10061) i know issue is related to address specified in the app.config in client application. Need solution to fixed this issue.

<system.servicemodel>
<client>
<endpoint address="http://localhost:8090/MyService/SimpleCalculator">
binding ="wsHttpBinding"
contract ="MyCalculatorService.ISimpleCalculator">



推荐答案

试试看这个链接,是谷歌搜索WCF错误代码10061时的第一个链接

http://social.msdn.microsoft.com/forums/en-US/wcf/thread/58e420e9-43a3-4119-b541-d18158038e36/ [ ^ ]



根据您提供的信息,看起来可能是同一个问题,并且有讨论了各种解决方案。
Try reading this link, was the first link when googling "WCF error code 10061"
http://social.msdn.microsoft.com/forums/en-US/wcf/thread/58e420e9-43a3-4119-b541-d18158038e36/[^]

Based on the information you provided that looks like it could be same issue and there are various solutions discussed.


这篇关于WCF自托管与端点地址相关的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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