Buenas pessoal,
Tenho a seguinte função:
public void testWebService() throws Exception{
StringBuffer stringBuffer = new StringBuffer();
TextBox textBox = null;
int aux = 0;
SoapObject client = new SoapObject(url, "receptor");
aux = vet[1];
client.addProperty("valor1", new Integer(aux));
HttpTransport ht = new HttpTransport(url, "receptor");
//ht.debug = true;
stringBuffer.append(ht.call(client));
textBox = new TextBox("Teste WebService", stringBuffer.toString(), 1024, 0);
display.setCurrent(textBox);
}
Que esta gerando o seguinte exception:
Quando eu comento a seguinte linha:
ele não gera mais este exception, porém meu aplicativo não consegue transmitir mais nada quando eu chamo esta função novamente.
Alguém tem idéia de como me ajudar?
Abraço