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.
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.
However when sending attempting to call the WCF service I get the error:
There was no endpoint listening at {"URL"} that could accept the message...
I have created another client as a console application on a PC using svcutil.exe and this works fine.
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.
Thanks
To connect a Smart-Device
application to a WCF service
you should use the NetCFSvcUtil.exe
tool.
You can download it from here .
The problem appears to be some sort of DNS related issue.
While the WiFi connection was fine attempting to visit any website returned a Dns error.
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.
Has any else ever experienced this before?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.