Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Windows C#3.5 CE
Hi,
I am trying to add a web service to my win CE project.
I added the webservice successfully and test it in win mobile 5.0 emulated and it worked properly.but when i test it in a win CE device it encountered a low memory Error.this is my code:
 
MobileService s = new MobileService();
string a = s.HelloWorld();
 
button1.Text = a;
 
I just try to test with a hello world webservice.My internet connection is OK.
what can i do to solve my problem.
Posted 21-Jul-12 21:36pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It seems like your code is not the problem but the device. It could use some memory upgrade. Since it is a normal thing you're asking of it.. But if that's not possible, maybe you could solve it at a lower level by talking to the webservice in the underlying soap.
 
But it would be like going back in time..
 
http://msdn.microsoft.com/en-us/library/ms862702.aspx[^]
 
http://msdn.microsoft.com/en-us/library/ms897379.aspx[^]
  Permalink  
Comments
nsg_questnetltd@yahoo.com at 23-Jul-12 1:47am
   
But I have 512MB of ram on my system, and it is not seems to be low for such a small request in web service.I think there is a problem in my internet connection.I set up the adapter setting of my windows CE just like my computer.but I don't have IE in my image to test it.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

But I have 512MB of ram on my system, and it is not seems to be low for such a small request in web service.I think there is a problem in my internet connection.I set up the adapter setting of my windows CE just like my computer.but I don't have IE in my image to test it.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 371
1 Sergey Alexandrovich Kryukov 269
2 CB Sharma 79
3 RyanDev 75
4 PhilLenoir 70
0 Sergey Alexandrovich Kryukov 6,676
1 OriginalGriff 6,056
2 CPallini 2,473
3 Richard MacCutchan 1,697
4 Abhinav S 1,560


Advertise | Privacy | Mobile
Web01 | 2.8.140821.2 | Last Updated 23 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100