This post may appear familar because its the second time i post the problem now that the circle is complete. I am trying to create a simple (ha, if only) streaming audio web service for mobile clients. Currently i can get the client to connect to the web service using the ksoap package when the client is the Series 60 MIDP Concept beta 0.3 but not the v1.2 of the emulator. However the concept version differs in that it lacks all the directory structure for installation of sis files necessary to use the Real One Player on the emulator (please correct me if i am wrong and also tell me how to install Real One player). Therefore unless i just want to forget streaming i am forced into the v1.2 emulator to run proprietary streaming products. Anyway this is just background. The problem is that i get the following problem when i try to connect to my web service:
[Info] Series 60 MIDP SDK for Symbian OS version 1.2: java.io.IOException: Status = -21
[Info] Series 60 MIDP SDK for Symbian OS version 1.2: at org.ksoap.transport.HttpTransport.call(+417)
[Info] Series 60 MIDP SDK for Symbian OS version 1.2: at org.ksoap.transport.HttpTransport.call(+12)
[Info] Series 60 MIDP SDK for Symbian OS version 1.2: at ConnectionManager.run(+49)
I run the HTTP connection code in a separate thread, inappropriately called ConnectionManager for now. It has the over written method run. I also include the client interface and server code below - i would very much like an answer to this problem. I am new to mobile devices so please explain well.
Thanks for the suggestion BUT it makes no difference at all. Replacing localhost with the ip address (obtained with ipconfig) to form the following 2 arguments to the HttpTransport constructor: ("http://xxx.x.xxx.xxx:80/axis/services/MobileDemo", "urn:MobileDemo#getAudioURL") still gives me:
java.io.IOException: Status = -21
N.B i also changed to port 80 as that was one suggestion gleamed off the forums, but that also makes no difference either. The code still works works on the series 60 concept SDK, so i know my code is solid enough for the demo.