社区
Web Services
帖子详情
WCF 无法解析此远程名称
baidu_16849617
2016-12-13 05:56:20
这个问题怎么解决?
http://192.168.1.13/barcode/webservice/SAP/BarcodePrintService.svc
我用这个可以在浏览器上访问,但是把ip改成电脑名就访问不了了。
...全文
640
5
打赏
收藏
WCF 无法解析此远程名称
这个问题怎么解决? http://192.168.1.13/barcode/webservice/SAP/BarcodePrintService.svc 我用这个可以在浏览器上访问,但是把ip改成电脑名就访问不了了。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
维秀斯丢丢
2017-02-15
打赏
举报
回复
什么叫ip改成电脑名? 这个没听说过
showwe
2017-02-15
打赏
举报
回复
你那个名称的机器在你的DNS里能解析吗? 你那个IP在不在你能访问到的网络里,是通过这个IP访问吗?开放了那个端口给你访问吗?你测试时那个服务有在运行没 :)
liaoxujun01
2017-02-14
打赏
举报
回复
http://192.168.1.13/barcode/webservice/SAP/
baidu_16849617
2016-12-14
打赏
举报
回复
服务端相关配置 <services> <service behaviorConfiguration="CommonServiceBehavior" name="CommonService"> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="ICommonService" contract="ICommonService"> <identity> <dns value="localhost" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> </service> <behavior name="CommonServiceBehavior"> <serviceMetadata httpGetEnabled="true" /> <serviceDebug includeExceptionDetailInFaults="true" /> <serviceThrottling maxConcurrentCalls="200" maxConcurrentSessions="200" maxConcurrentInstances="200" /> </behavior> <binding name="ICommonService" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647" messageEncoding="Text" receiveTimeout="04:00:00" sendTimeout="00:03:00" > <readerQuotas maxDepth="6553600" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="6553600" maxNameTableCharCount="6553600"/> <reliableSession ordered="true" inactivityTimeout="04:00:00" enabled="true" /> <security mode="None"/> </binding> 客户端相关配置 <binding name="WSHttpBinding_ICommonService" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384" /> <reliableSession ordered="true" inactivityTimeout="04:00:00" enabled="true" /> <security mode="None"> <transport clientCredentialType="Windows" proxyCredentialType="None" realm="" /> <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="true" /> </security> </binding> <endpoint address="http://localhost:6728/WCF_Server/CommonService.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ICommonService" contract="WCF_CommonService.ICommonService" name="WSHttpBinding_ICommonService"> <identity> <dns value="localhost" /> </identity> </endpoint>
baidu_16849617
2016-12-14
打赏
举报
回复
有没有人遇到过啊?
WCF
边学边练
全面介绍
WCF
的各种特性,并以实例形式展示
WCF
的开发以及调用。
WCF
无法
从http://XXX/XXX.svc?wsdl获取元数据”错误的解决方法
“
无法
从http://XXX/XXX.svc?wsdl获取元数据”错误的解决方法 日期: 2013 年 12 月 3 日 / 分类: asp.net, c#, windows 昨天在用IIS部署一个
WCF
服
WCF
技术剖析(卷1)
WCF
全面
解析
文摘
第1章
wcf
简介 soa体现的是一种对关注点进行分解的思想,与技术无关 soa的基本思想: a.服务自治 独立部署,不依赖其他 b.依赖于开放的标准 采用xml,xsd,及wsdl作为服务描述的“语言” c.跨平台 java平台下的...
WCF
发布后
远程
访问的域名
解析
问题
WCF
开发测试,本地调用都正常。发布后,在浏览器中访问http://ip/Service.svc,可以正常浏览,但svcutil.exe 显示的是域名:http://域名/Service.svc。 在VS中,添加服务引用,地址输入http://ip/...
使用
WCF
POST JSON
记录于此,供有需要的博友采用。 首先数据的写入一定要有一个供公开的类,这与MVC不同。因为之前,自己一直想做为string 传递,就没有打算多加一个数据传递的类。结果
WCF
总是得不到数据。原因原来是没有定义一个数据...
Web Services
12,162
社区成员
16,328
社区内容
发帖
与我相关
我的任务
Web Services
.NET技术 Web Services
复制链接
扫一扫
分享
社区描述
.NET技术 Web Services
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章