Why does my app want to use the modem?

P

Peter Morris

Hi all

My app currently uses FTP to exchange data with a server but I have recently
migrated this to a webservice instead. When I connect to a machine using
FTP (via its IP address) the connection goes via the LAN and the connection
is successful, however when I try to execute a call to a webservice the
Pocket PC (Intermec) pops up a dialler window telling me it is trying to
connect to "GPRSWAN" and then fails. I can get the web service call to work
if I add the server's URL into the "Exceptions" list in the connections
settings but I don't really want to do that because it means a manual
modification to approximately 200 Pocket PCs.

Can anyone offer some help with this? I'd really appreciate it!


Thanks

Pete
 
P

Paul G. Tobey [eMVP]

You could connect to the Web service via it's IP address instead of the
name, either by hard-coding that address, rather than the name, or by
looking up the IP address in your program and then using that yourself. Or,
if you don't like that, you could figure out what registry entry adding that
exception adds and add it as part of your installation of the program...

Paul T.
 
C

chris-s

You need to understand a little more about how the device decides how
to connect to a networked resource. Although it can be configured to
behave differently, generally, when you try to connect to a local ip
address or server name, it will assume this is a 'work connection' and
use the LAN connector (ethernet/wifi) but when you specify a url name
it uses the 'internet connection' ie gprs.

An alternative to the exceptions list is setting the 'internet
connection to connect to work' under settings->connections, assuming
that you never want it to connect to the internet for the resource.

Chris
 
P

Peter Morris

Hi Chris

I do have both work/internet settings configured to connect via the "Work"
connection and that is what really confuses me.


Pete
 
P

Peter Morris

HI Paul
You could connect to the Web service via it's IP address instead of the
name, either by hard-coding that address, rather than the name, or by
looking up the IP address in your program and then using that yourself.

I tried this but it seems that any host with a "." in the name triggers the
modem dialler, do you have any other ideas?


Thanks

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top