Hello,
 
I finished writing up my gSOAP app for Palm OS that connects to a .NET Web 
Service.  I have been testing and debugging it using various Palm emulators and 
simulators and never had any problems.
 
Now, I'm testing the program on a real Treo 600 connecting to the internet via 
the phone service, and on a Tungsten 5 utilizing a Palm wifi card.  The problem 
I'm having is that my calls to the web service seem to be failing randomly 
about 1/10 of the time and.  In addition, after the failure, all internet 
traffic on the Palm is blocked until I reset the connection.

Since I can't get these problems to occur on the emulators and simulators, I 
don't really have a way to debug the code.  The only error information I am 
getting is gSOAP is returning the error text "HTTP/1.1 200 OK".

I have used a tool called SOAPScope to monitor all SOAP messages going across 
the connection to the server, and it picks up all of the SOAP messages until it 
fails.  So the SOAP message at the failure doesn't actually make it to the 
server.

I've tried introducing time delays in between the soap calls, and creating new 
soap objects for every soap call, but the problem still exists.

I've also tried looping until failure on a single web method, and it will 
always fail at some point.  However, if I run this looping code on the 
emulator/simulator it will go indefinately with no problems.

So does anyone have any idea why I might be getting this type of behavior?  Why 
would it be stable on the emulators but so unstable on the actual devices?

Thanks.
 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to