Call WebService Win CE 4.2

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
could you provide me with an example of how to use either of these please?

Many Thanks

Steve
 
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.
 
Back
Top