C
Christian Donner
T-Mobile Shadow
Windows Mobile 6 Standard
2 GB SD card
I am writing a CF application that consumes a web service which resides on
my server at home. This server is different from the development machine.
The web service URL uses a DynDns domain and port 8080, which is forwarded
by my pix firewall to port 80 on the server, i.e.
http://Dyndnsname.net:8080/Webservicename
gets forwarded to
http://Dyndnsname.net/Webservicename
The server's domain is getting resolved by a hosts file entry on the
development box, but does not resolve in the internal network otherwise. The
first URL that uses port 8080 would not work at all for this server on the
internal network.
Here is the weird thing. When I deploy to the device, I can debug and run
the application on the device and it works like a charm. The web service is
found, using the external URL with port 8080. I can hit the service from IE
on the device, too, and get the info page.
As soon as I unplug the USB cable, the app stops working. The same running
instance starts getting SOAP exceptions or timeouts. If I start a new
instance while disconnected, I get an unspecific error and have not been
able to capture the exception yet. But: I can still hit the webservice page
with IE and get the same results as I did when the USB cable was connected
and the device was controlled by ActiveSync. What's going on? What changes,
connectivity-wise, when I disconnect the device, that affects a custom app,
but not IE?
Windows Mobile 6 Standard
2 GB SD card
I am writing a CF application that consumes a web service which resides on
my server at home. This server is different from the development machine.
The web service URL uses a DynDns domain and port 8080, which is forwarded
by my pix firewall to port 80 on the server, i.e.
http://Dyndnsname.net:8080/Webservicename
gets forwarded to
http://Dyndnsname.net/Webservicename
The server's domain is getting resolved by a hosts file entry on the
development box, but does not resolve in the internal network otherwise. The
first URL that uses port 8080 would not work at all for this server on the
internal network.
Here is the weird thing. When I deploy to the device, I can debug and run
the application on the device and it works like a charm. The web service is
found, using the external URL with port 8080. I can hit the service from IE
on the device, too, and get the info page.
As soon as I unplug the USB cable, the app stops working. The same running
instance starts getting SOAP exceptions or timeouts. If I start a new
instance while disconnected, I get an unspecific error and have not been
able to capture the exception yet. But: I can still hit the webservice page
with IE and get the same results as I did when the USB cable was connected
and the device was controlled by ActiveSync. What's going on? What changes,
connectivity-wise, when I disconnect the device, that affects a custom app,
but not IE?