Call WebService Win CE 4.2

G

Guest

I am trying to call a WebService from my Win CE 4.2 application (.Net CF 2.0
SP1 C#). If I manually go into Network Connections and fire up the
predefined GPRS connection, then go and run my app it works fine.

However this is not good enough for the users, I need the app to do the work
of going in and setting up the connection.

I have read in various places that simply by definition a WebService call
will automatically make this connection when it is called. But this doesnt
appear to be the case on my device at least. If I just call a webservice
without first manually connecting to the GPRS network I get back "Unable to
connect to the remote server".

I tried downloading the OpenNetCF and using the ConnectionManager, but that
doesnt seem to be supported on Win CE and I get an error about PInvoke unable
to find cellcore.dll.

Can anyone tell me how I can get my application to call this webservice
successfully connecting through the GPRS connection on the device please??

Many Thanks

Steve
 
G

Guest

You probably need to use RAS or TAPI to get the modem to connect before the
WS call.
 
G

Guest

could you provide me with an example of how to use either of these please?

Many Thanks

Steve
 
G

Guest

Neither is simple. Google will get you some hits. I believe there's a RAS
wrapper in our Forums, but I've not used it so I have no idea on quality.
 

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