[英]WCF Client from windows handheld 6.5
I am experiencing a problem which I cannot seem to solve. 我遇到了一个似乎无法解决的问题。
I have created a WCF service which is currently hosted in a console application for testing purposes. 我创建了WCF服务,该服务当前托管在控制台应用程序中,用于测试。
I created a client using the compact framework version of svcutil.exe and created a windows handheld 6.5 application which is running on a mobile device. 我使用svcutil.exe的精简框架版本创建了一个客户端,并创建了在移动设备上运行的Windows Handheld 6.5应用程序。
However when sending attempting to call the WCF service I get the error: 但是,在发送尝试调用WCF服务的尝试时,出现错误消息:
There was no endpoint listening at {"URL"} that could accept the message... 没有端点在{“ URL”}处监听,可以接受该消息...
I have created another client as a console application on a PC using svcutil.exe and this works fine. 我已经使用svcutil.exe在PC上创建了另一个客户端作为控制台应用程序,并且工作正常。
Are there any reasons why the mobile device cannot connect to the service and the console client can?? 移动设备无法连接到服务而控制台客户端可以连接到服务,是否有任何原因?
I can ping the server from the mobile device. 我可以从移动设备ping服务器。
Thanks 谢谢
The problem appears to be some sort of DNS related issue. 该问题似乎是与DNS相关的某种问题。
While the WiFi connection was fine attempting to visit any website returned a Dns error. WiFi连接正常时,尝试访问任何网站均返回Dns错误。
Turning the device off and on again seemed to solve the problem as after powering back up both the application and internet explorer were working fine. 再次打开和关闭设备似乎可以解决问题,因为重新启动应用程序和Internet Explorer后,它们都可以正常工作。
Has any else ever experienced this before? 以前有没有其他经历?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.