j2me transport problem..

hi i am currently building a j2me client by using SOAP rpc method.

everything works fine but it gives a warning which is ;

Warning: To avoid potential deadlock, operations that may block, such as networking, should be performed in a different thread than the

commandAction() handler.

when i block warning ..it locks my midlet..

any one has any idea .?

[391 byte] By [regEXa] at [2007-11-27 1:56:00]
# 1
Hi, Do exactly as told : put network communication in a separate thread.Hope that help,Jack
jack@square6a at 2007-7-12 1:29:45 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

hi I got the same problem ..I have wrote my Transport code into the another thread ..It works now..

But new problem appeared ..

my webservice run in local ISS server.And in my midlet suit.

I have called this services functions but gives soap fault..

org.ksoap.SoapFault

at org.ksoap.transport.HttpTransport.call(+35)

at helloworld.run(+29)

my soapobject and transport code basicly ;

rpc=new SoapObject("urn:Service","HelloWorld");

ReturnValue.setText(""+new HttpTransport("http://localhost/deneme/Service.asmx",

"urn:Service#HelloWorld").call(rpc));

what do you think ?What is wrong here ?No exp.No error but this problem appears...

@hma at 2007-7-12 1:29:45 > top of Java-index,Java Mobility Forums,Java ME Technologies...