I have a Windows Mobile 6 application that is trying to make a web service call to a service hosted on my local machine so I can debug the logon process with VS2008 connecting to both the emulated device and web service.
I have configured the device emulator to connect to the internet and confirmed this by doing a Bing search from IE on the device. I have checked the web service is running and working using the local test form on the machine and having installed vxUtil to the emulated device and checked that I can ping my machine and make a GET request to my web service URL http://MyMachineName>/Service/MyService.asmx
, both are successful.
The application checks for network connectivity by checking for a web request response from www.google.com and this is successful but when I try and call the login method for the web service I'm getting a .Net SocketException 10060 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Note: this network connectivity check will be replaced along the lines of this article: Establish Network Connectivity with the Windows Mobile Connection Manager
I have attached an instance of VS2008 to my locally running web service and don't see the request come in from calling the logon method on the emulated device. I assume something is stopping the connection reaching my local machine from the emulator, how else can I find out what is preventing the connection being made?